Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 574 Bytes

2014-06-17.md

File metadata and controls

24 lines (16 loc) · 574 Bytes

deepak

ssh-copy-id will copy your keys to the .ssh/authorized_keys file on the server
useful for password-less ssh login, of course

will check if a key already exists before adding it

can install on OSX using homebrew with:

brew install ssh-copy-id

can be invoked like:

ssh-copy-id -i ~/.ssh/id_rsa.pub ivrnet@206.174.214.204

Will ask for the user's password on the server

Now ssh ivrnet@206.174.214.204 will now ask for the password
and can see ~/.ssh/autorized_keys on the server
Your keys will be included there