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?
~/.bashrc
on the server.