Append public key to other host’s authorized_keys

This is the command I always use:

$ cat .ssh/id_rsa.pub | ssh user@hostname "cat >> .ssh/authorized_keys2"

15 December 2011 ·

2 notes

  1. jer0me posted this

About Me

Flickr Images