I just changed my hosting provider that gives user@domain as ssh login to the domain.. so a scp command line gives: scp file.tocopy user@domain@domain: It fails to connect. I checked the source code and it uses strchr rather than strrchr to get the hostname and user.. thus it will end up with user 'user' and domain 'domain@domain'...which is unlikely to succeed. This bug exists at least in scp.c and ssh.c Workaround for ssh is to use ssh -l user@domain domain and for scp is to use another client. I use pscp on windows.
Markus fixed this in November
Mass change of RESOLVED bugs to CLOSED