HIP:TS-7000:dropbear keys: Difference between revisions

From Earlham CS Department
Jump to navigation Jump to search
Madunnh (talk | contribs)
Madunnh (talk | contribs)
Line 4: Line 4:


   dropbearkey -t rsa -f ~/.ssh/id\_rsa
   dropbearkey -t rsa -f ~/.ssh/id\_rsa
* save the pbulic key in a file ie "~/.ssh/id_rsa.pub" and then:


   scp ~/.ssh/id_rsa.pub host:.ssh/authorized_keys2
   scp ~/.ssh/id_rsa.pub host:.ssh/authorized_keys2


* The public key part of the new key will be printed to the screen. You can put it into the  /.ssh/authorized_keys file on all machines where you want to be able to login using your new private key stored in  /.ssh/id_rsa.db.
* The public key part of the new key will be printed to the screen. You can put it into the  /.ssh/authorized_keys file on all machines where you want to be able to login using your new private key stored in  /.ssh/id_rsa.db.

Revision as of 20:21, 19 July 2007

Generating Dropbear SSH keys

  • To create a new RSA key to store in /.ssh/id_rsa.db, you can use the following command:
 dropbearkey -t rsa -f ~/.ssh/id\_rsa
  • save the pbulic key in a file ie "~/.ssh/id_rsa.pub" and then:
 scp ~/.ssh/id_rsa.pub host:.ssh/authorized_keys2
  • The public key part of the new key will be printed to the screen. You can put it into the /.ssh/authorized_keys file on all machines where you want to be able to login using your new private key stored in /.ssh/id_rsa.db.