User Tools

Site Tools


computing:linux: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
Next revision
Previous revision
computing:linux:ssh_keys [2011/12/13 12:59]
gcooper
computing:linux:ssh_keys [2017/01/28 12:33] (current)
gcooper
Line 21: Line 21:
 If SSH is on a non-standard port: If SSH is on a non-standard port:
  
 +<file>
 +ssh-copy-id -p 2222 user@remote.host.name
 +</file>
 +or:
 <file> <file>
 cat ~/.ssh/*.pub | ssh -p 2222 root@remote.host.name 'umask 077; cat >>.ssh/authorized_keys' cat ~/.ssh/*.pub | ssh -p 2222 root@remote.host.name 'umask 077; cat >>.ssh/authorized_keys'
Line 30: Line 34:
  
 <file> <file>
-ssh-keygen -t dsa+ssh-keygen -t rsa
 </file> </file>
 +
 +You probably want to just hit enter at the passphrase prompt.
computing/linux/ssh_keys.1323806383.txt.gz · Last modified: 2011/12/13 12:59 by gcooper