g_facg
Last Updated: February 25, 2016
·
600
· reidransom

Copy a public ssh key one-liner

$ ssh user@example.com 'mkdir -p .ssh && cat >> .ssh/authorized_keys' < ~/.ssh/id_rsa.pub
Filed Under