ssh-agent

If you’re not using ssh-agent to authenticate yourself to SSH servers, you should be. (i’m assuming you’re already using PubkeyAuthentication; if you’re still using PasswordAuthentication, ChallengeResponseAuthentication or KbdInteractiveAuthentication, fix that please). You should use ssh-agent for a number of reasons, actually, but the simplest is this: when you authenticate to …

Copy files using ssh scp

copy from remote server scp -P22 user@192.168.1.161:/home/user/.virtualenvs/vallo/requirements.txt /Users/user/requirements.txt copy from local server scp -P22 somefile username@server:/home/username/ Copy a directory scp -r root@my.web.server.com:/var/www/whatportis/* /var/www/whatportis/