Using Your Keys in Linux
Filed under: Technical References
Posted: March 7, 2009
From the machine on which you made your key:
scp ~/.ssh/id_rsa.pub auser@london.cs.uri.edu
Install the key:
ssh auser@london.cs.uri.edu cp id_rsa.pub >> ~/.ssh/authorized_keys logout
Alternatively, if your machine provides ssh-copy-id, you only need to:
ssh-copy-id auser@london.cs.uri.edu
Test the key:
ssh auser@london.cs.uri.edu Authenticating with public key “imported-openssh-key” Passphrase for key “imported-openssh-key”: LONDON.cs.uri.edu Last login: Mon May 15 21:36:19 2006 from …. Problems? mailto:sysstaff@cs.uri.edu Have a nice day! auser@london ~ $
