How to use scp without passing password?

On you local machine (mac, for example), run the following command:

ssh-keygen -t rsa -C "your_email@youremail.com"

Then copy the content of ~/.ssh/id_rsa.pub and add it to the remote machines ~/.ssh/authorized_keys. Now you can scp to remote machine without passing password.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment