Difference between revisions of "SSH"
From Useful Things
| Line 1: | Line 1: | ||
| − | == | + | == Upload SSH public key to remote host == |
| − | + | cat /root/.ssh/id_rsa.pub | ssh root@remotehost 'cat >> /root/.ssh/authorized_keys' | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 01:39, 4 July 2014
Upload SSH public key to remote host
cat /root/.ssh/id_rsa.pub | ssh root@remotehost 'cat >> /root/.ssh/authorized_keys'