I'm not sure what's going on but as of late I can't seem to get any files copied to local from my remote server. I tried rsync from local and get the following error message:
mut@mylocalcomputer:~$ rsync -chavzP --stats firstname.lastname@example.org:/home/users/mut/thedirectoryIneed /User/mut/ email@example.com's password: protocol version mismatch -- is your shell clean? (see the rsync man page for an explanation) rsync error: protocol incompatibility (code 2) at /SourceCache/rsync/rsync-42/rsync /compat.c(61) [receiver=2.6.9]
So I manned rsync and followed the instructions to diagnose the problem with the following (input into local command line):
ssh firstname.lastname@example.org /bin/true > out.dat
input the password, and got nothing back - it just spit out a new prompt).
(2) So I tried to
scp instead, and every time I
ssh from local I get the following output displaying filetype, size, permissions and filename, but nothing else:
C0644 183 fileineedfromremoteserver.cpp
but the file doesn't copy over (or at least I can't find it anywhere on my computer).
Any suggestions as to what the problem might be, or what else I could try?
note: My local is the default terminal CLI on OSX(BSD) and the server is GNU linux. I never had any problems before copying files from the server, and the only thing I can think of that has changed since is that at some point I typed in the command to generate an SSH key from local (in a failed attempt to try and automate my login to the server without having to enter my password every time). I doubt this has anything to do with it though.