Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jun 122010

How to transfer your to the remote machine’s authorized_keys?


While you can ssh into the remote machine and edit the authorized_keys file, it is easier with the following command.

# ssh-copy-id -i user@remote-server

  One Response to “How to transfer your to the remote machine’s authorized_keys?”

  1. [...] will be prompted to login if you don't have proper ssh key in the remote server, and after finishing editing the file, you will quit the ssh session [...]

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>