Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to scp a file but it returns immediately with the DATE and not file is copied:

[cosmo] Downloads > scp V17530-01_1of2.zip bryan@elphaba:Downloads
bryan@elphaba's password:
Sat Apr 10 13:35:41 PDT 2010

I have never seen this before. I have confirmed that I have the sshd running on the target system and that the firewall is allowing 22/tcp.

Any help on what is going on would be very much appreciated.

Thanks, Bryan

share|improve this question

migrated from stackoverflow.com Apr 10 '10 at 21:14

This question came from our site for professional and enthusiast programmers.

1 Answer 1

It is probably something in a login script (.bashrc, .profile, .login, .cshrc, .tcshrc, etc. depending on your shell). Try ssh elphaba ls Downloads to see if anything is shown other than the directory listing. Extraneous non-protocol output will be interpreted by scp as an error message and will just be displayed to the user.

For more details: http://blogs.oracle.com/janp/entry/how_the_scp_protocol_works#talkative_profiles

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.