Add your public key to a remote ssh account
Tagged with
ssh
Language: Bash
I always forget this handy shortcut so I’m putting it up so I can find it later. Perhaps it will help you too.
View as text
cat .ssh/id_rsa.pub | ssh user@domain.tld 'cat >> .ssh/authorized_keys'
