!!!Maintenance in Progress!!!

SSH Weirdness

If you are trying to use SSH to copy several files securely using SCP, and you get the following error:

scp: No match.

It is because SCP is trying to do the * wildcard expansion before logging in to the remote machine. To tell it to log in first before expanding the wildcard, then you need to use the \other\ slash. So, for example you would do:

scp username@foreignhost:~/somedir/\* ~/anotherdir/

Also, if you get the following error:

protocol error: unexpected <newline>

It is because the remote host is sending you text upon login. You should check files like .bashrc etc., to make sure you are not echoing any characters upon login.

All this information is brought to you via this page.