Wednesday, September 14, 2011

How to copy public key to remote server with just one command

I found that I copy my public key to remote server again and again, then I realise that I need a quicker way to do this.

After googling I found this very useful command.


ssh-copy-id user@remoteserver


ssh-copy-id : is the command

user : is the user of the remote server

remoteserver : is the server of destination

No comments:

Post a Comment