delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/06/18:00:48

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT 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 DOT 3060506 AT bellsouth DOT net>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019