Add an SSH key with one line

Future self, or anyone else listening, this is the command:
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'

Comments:

rss

blog powered by Pelican