Passwordless SSH

I always seem to lose this note and I know it was on my WordPress site that now sleeps with the fishes.

ssh root@serverB 'mkdir -p /root/.ssh'

cat /root/.ssh/id_rsa.pub | ssh root@serverB 'cat >> /root/.ssh/authorized_keys'
This entry was posted in Tech and tagged , . Bookmark the permalink.

2 Responses to Passwordless SSH

  1. admin says:

    I downloaded Reqall but the irony is that I kept forgetting to use it.

Leave a Reply