X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: getting scp to work
Date:  Wed, 06 Dec 2006 17:00:05 -0600
Lines: 39
Message-ID: <el7i1k$pgk$1@sea.gmane.org>
References:  <45773BEE.3060506@bellsouth.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
In-Reply-To: <45773BEE.3060506@bellsouth.net>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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 y=
our
~/.ssh/config or some other place I don't know.
--=20
Ren=E9 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/

