scp a key to a remote server for authentication

I have made a key and saved it locally and I want a server to have a copy so they can identify me.  I want this to happen so that when I write a script I dont need to keep usernames and passwords in plain text inside the script.  It means the script can only be run by me@myhost without the plain text security issue.

scp /home/me/directory/myhostname-rsync-key.pb
 remoteuser@remotehost/home/remoteuser/

Viola!

NOTE remoteuser@… is only on a seperate line because I’m a wordpress loser, and I can’t figure out how to get the text small enough to fit the template o.O </fail>


Comments

One response to “scp a key to a remote server for authentication”

  1. As I web-site possessor I believe the content material here is rattling fantastic , appreciate it for your efforts. You should keep it up forever! Good Luck.

Leave a Reply

Your email address will not be published. Required fields are marked *