This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getting scp to work


Charles D. Russell wrote:

> I can't get scp to transfer files between two Windows computers on a
> home WLAN.

> A log of scp -v is attached. There are no error messages
> recognizable to me, but the log correctly reports that 0 bytes were
> transferred.

> ssh seems to be working ok, at  least to log in remotely
> and to run pwd and ls remotely.

When you test ssh, do you get some messages after successful log in?

I think the problem is that scp received those extraneous messages and didn't
know what to do... the solution is cleaning up your .bashrc or whatever is
causing those messages.

> A curious fact is that the attached
> output of scp -v contains carriage returns, although running "mount"
> shows all drives on both computers to be binary.  Furthermore, at one
> point in the installation of the ssh package on host sony06, I got a
> message indicating that my installation was identified as "just me",
> when in fact it was "all users."  I have no idea whether these are
> significant clues.
[snip]

> debug1: Sending command: scp -v -t .
> running .bashrc on sony06

What's going on here?

That "running" part shouldn't be there... unless you have specified it in your
~/.ssh/config or some other place I don't know.
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]