I am trying to scp a file from a server to my local machine, but it is giving me this error:
protocol error: unexpected <newline>
This is my syntax:
scp user@server:/path/to/file .
It did not work on this server, but then I tried the same command on my other server, so I can only assume that it is something wrong with my server and not the syntax of the scp command.
Any ideas?
~/.bashrcon the server. – quanta Nov 7 '11 at 4:13