Difference between revisions of "Application talk:OpenSSH"

From WebOS Internals
Jump to navigation Jump to search
(Created page with "If you have more than one device and you are banging your head against the wall because you can't get ssh into one or the other or both to work, you may be interested to learn th...")
 
m (+topic)
Line 1: Line 1:
 +
= Multiple Keys=
 
If you have more than one device and you are banging your head against the wall because you can't get ssh into one or the other or both to work, you may be interested to learn that the id_rsa file is not meant to contain more than one key. If you generated keys on webOs on each of your devices, put the secret keys in separate files on the client, e.g. id_rsa.pre2 and id_rsa.tp, and then create .ssh/config with multiple entries
 
If you have more than one device and you are banging your head against the wall because you can't get ssh into one or the other or both to work, you may be interested to learn that the id_rsa file is not meant to contain more than one key. If you generated keys on webOs on each of your devices, put the secret keys in separate files on the client, e.g. id_rsa.pre2 and id_rsa.tp, and then create .ssh/config with multiple entries
  

Revision as of 23:56, 21 September 2011

Multiple Keys

If you have more than one device and you are banging your head against the wall because you can't get ssh into one or the other or both to work, you may be interested to learn that the id_rsa file is not meant to contain more than one key. If you generated keys on webOs on each of your devices, put the secret keys in separate files on the client, e.g. id_rsa.pre2 and id_rsa.tp, and then create .ssh/config with multiple entries

IdentityFile ~/.ssh/id_rsa.pre2
IdentityFile ~/.ssh/id_rsa.tp

When you run ssh it will use each file until it finds one which works.