How to Upload / Copy File From 1 Server to Another Through SSH
Use SCP scp <source> <destination> Download from Remote source: scp -P [port] [sshuser]@[hostname]:/path/to/file /path/to/destination Example scp -P 22 username@b:/path/to/file /path/to/destination It will then ask for password. Just put in the SSH password. Make sure ports are open for both servers.