I am running a script on a remote machine and I would like to copy the output file on my pc, using scp.
I am perfectly able to copy files from my pc to the remote one, but apparently I am not in doing the opposite:
I have tried with both my hostname and ip adress, with :
scp star_101out.txt alessandra@ip_adress:/home/alessandra/Dropbox/tesi\ alle/Python
and I get this error:
Connection timed out
lost connection
what should I do?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With