Remember SCP Just use SCP Linux Download $ scp -r user@ssh.example.com:/path/to/remote/source /path/to/local/destination Upload $ scp -r /path/to/local/source user@ssh.example.com:/path/to/remote/destination https://stackabuse.com/copying-a-directory-with-scp/ Windows local(win)->remote(unix): scp -P 1688 "D:\MEGA\ps.key" nick@192.168.88.242:/home/nick/ps.key remote->local (copy from remote host): scp -P 1688 nick@192.168.88.242:/home/nick/ps.key "D:\MEGA\ps.key" https://unix.stackexchange.com/questions/92715/can-i-transfer-files-using-ssh