Difference between revisions of "HIP:TS-7000:dropbear keys"
Jump to navigation
Jump to search
(→Generating Dropbear SSH keys) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Generating Dropbear SSH keys == | == Generating Dropbear SSH keys == | ||
− | * To create a new RSA key to store in /.ssh/id_rsa | + | * To create a new RSA key to store in "/.ssh/id_rsa", you can use the following command: |
− | dropbearkey -t rsa -f ~/.ssh/ | + | dropbearkey -t rsa -f ~/.ssh/id_rsa |
* Save the pbulic key in a file ie "~/.ssh/id_rsa.pub" and then: | * Save the pbulic key in a file ie "~/.ssh/id_rsa.pub" and then: | ||
− | scp ~/.ssh/id_rsa.pub host:.ssh/ | + | scp ~/.ssh/id_rsa.pub host:.ssh/authorized_keys |
− | * 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 | + | * to ssh from the pmp with no password: |
+ | |||
+ | ssh -i ~/.ssh/id_rsa host | ||
+ | |||
+ | * 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 |
Latest revision as of 10:13, 20 July 2007
Generating Dropbear SSH keys
- To create a new RSA key to store in "/.ssh/id_rsa", 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_keys
- to ssh from the pmp with no password:
ssh -i ~/.ssh/id_rsa host
- 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