12
4
I am trying to use SCP on my local server to copy a file from one remote server to another remote server (both remote servers use a custom port (xxxx)
I am trying:
scp -r -P xxxx root@xxx.xxx.xxx.111:/home/myimages/images.tar.gz root@xxx.xxx.xxx.222:/home/myimages/images.tar.gz
But I get the following error:
ssh: connect to host xxx.xxx.xxx.222 port 22: Connection timed out
Any suggestions?
I presume that you can ssh to xxx.xxx.xxx.222 normally? – None – 2009-11-05T10:10:20.590
Yeah, I can ssh to all servers from all servers – Lizard – 2009-11-05T10:14:10.157
Cross posted here: http://serverfault.com/questions/81650/scp-from-one-external-server-to-another
– Paused until further notice. – 2009-11-05T11:55:22.647