Notices
 
Results 1 to 2 of 2
  1. Collapse Details
    Engima2 ssh key with dropbear 
    #1
    Senior Member alankellyeire's Avatar
    Join Date
    Jan 2013
    Posts
    122
    Thanks Thanks Given 
    60
    Thanks Thanks Received 
    7
    Thanked in
    7 Posts
    Total Downloaded
    0
    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.
     
     

  2. Collapse Details
    Re: Engima2 ssh key with dropbear 
    #2
    Senior Member alankellyeire's Avatar
    Join Date
    Jan 2013
    Posts
    122
    Thanks Thanks Given 
    60
    Thanks Thanks Received 
    7
    Thanked in
    7 Posts
    Total Downloaded
    0
    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 [email protected]<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
     
     

  3. The Following User Says Thank You to alankellyeire For This Useful Post:

    vimmers (04-23-2017)

Tags for this Thread

View Tag Cloud

 
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •