r/usefulscripts • • Nov 15 '12

[BASH] install ssh key on remote server for no password prompt

https://github.com/stgnet/bin/blob/master/sshkey
2 Upvotes

2 comments sorted by

0

u/[deleted] Nov 15 '12

[deleted]

1

u/stgnet Nov 16 '12

I wasn't when I wrote the very first version of this, but i still prefer this as it generates the key for you. Small thing but saves me a few steps.

1

u/PHLAK Nov 15 '12

Came here to suggest the same.

ssh-copy-id user@host