User Tools

Site Tools


guides:unix_admin:setting_up_ssh_keys

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
guides:unix_admin:setting_up_ssh_keys [2016/03/15 10:03]
michaelc
guides:unix_admin:setting_up_ssh_keys [2016/03/15 10:16]
michaelc
Line 30: Line 30:
        
        ​ssh-copy-id <​username>​@<​host>​        ​ssh-copy-id <​username>​@<​host>​
 +       
 +   OR
 +   
 +   If you don't have ssh-id-copy a single line command to copy.
 +   
 +      cat id_rsa.pub | ssh user@host 'cat >> ~/​.ssh/​authorized_keys'​
  
  
Line 58: Line 64:
        
        ​ssh-copy-id <​username>​@<​host>​        ​ssh-copy-id <​username>​@<​host>​
 +       
 +   OR
 +   
 +   If you don't have ssh-id-copy a single line command to copy.
 +   
 +      cat id_dsa.pub | ssh user@host 'cat >> ~/​.ssh/​authorized_keys'​
guides/unix_admin/setting_up_ssh_keys.txt · Last modified: 2016/03/15 10:16 by michaelc