Copying files with scp: connection timed out

Check the firewall of the servers . and also check if server is reachable, check if sshserver is running


After spending way too long on this, scp reports this error any time the syntax of the command line is wrong. If ssh works to the host that you are trying to reach, but scp returns this error, the scp command line is not understandable by scp.

Also note that the mistake may be an invisible character. This can happen if you try to paste a long file name using ^v for example, but the character is entered into the command line instead.

Retype your request and insure that you don't insert invisible characters.