Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Engima2 ssh key with dropbear

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alankellyeire
    Senior Member
    • Jan 2013
    • 115

    Engima2 ssh key with dropbear

    hi

    I need to access a receiver remotely but before i do i want to only allow ssh access with a key. i cant seem to connect to my box locally using the keys. this dropbear has me baffled there isnt much info i can find about using dropbear with keys.

    there is a command dropbearconvert that is used to convert openssh keys to dropbear and the opposite, but where do i put the keys

    thanks for any help.
  • alankellyeire
    Senior Member
    • Jan 2013
    • 115

    #2
    Re: Engima2 ssh key with dropbear

    i got it working

    here is what i did

    generate key on your client
    Code:

    ssh-keygen -t rsa

    transfer the public key to ur enigma box using secure copy
    Code:

    scp ~/.ssh/id_rsa.pub root@<BOX-IP>:/home/root/.ssh/id_rsa.pub

    catenate the authorized_keys file with the public key. if there isnt a authorized_keys file make it.
    Code:

    cat ~/.ssh/id_rsa.pub >> /home/root/.ssh/authorized_keys

    add the no password option below to the dropbear config file. use the text editor vi.
    Code:

    DROPBEAR_EXTRA_ARGS="-s"

    now restart dropbear
    Code:

    /etc/init.d/dropbear restart

    Comment

    Working...