Reputation: 503
What I need is to copy a file from one system to another, only root has rights to put the file to the destination location and only root can read from the source location. So I do:
scp /etc/ username@destination:/home/username/file.tmp, enter password again!
start PuTTY session on a destination machine, enter password
Is there a shortcut? Is there a way to insert the password from the clipboard? or just use the same password on every request?
Upvotes: 1
Views: 128
Reputation: 165
You can ask the server administrator if key-based authentication
is available - this way you store an ssh-key on your machine and this takes care of authentication which means you don't have to enter your password again and again.
Upvotes: 2