Skip to content

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

September 15, 2011

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

Advertisements

From → ssh

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: