We are going to quickly transfer some folders (recursive) from server1 to server2 through SCP (Secure Copy). Let us spam the std/out/in a little.
scp -2 -P your_custom_ssh_port -r /path/to/target user@server2:/path/to/destination
-2: use protocol 2
-P: use non standard port
your_custom_ssh_port = I hope you’re not using the standard 22!