delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/10/16:18:00

X-Spam-Check-By: sourceware.org
Message-ID: <44B2B5E7.8060003@cygwin.com>
Date: Mon, 10 Jul 2006 16:17:43 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can't scp to a server running cygwin
References: <loom DOT 20060710T142516-521 AT post DOT gmane DOT org> <loom DOT 20060710T204629-597 AT post DOT gmane DOT org>
In-Reply-To: <loom.20060710T204629-597@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Ken Gough wrote:
> Ken Gough <ken_j_gough <at> dresser-rand.com> writes:
> 
>> Unable to scp to my server running cygwin   
>> Description  
>> I have a Windows 2003 server with Cygwin 2.510.2.2. 
>> scp works fine when I run the command on the scp server.
> see correction below:
> scp works fine when I run the command on the cygwin server.
> 
>> When I run scp on a linux machine using cygwin as the destination, the 
> session 
>> locks up: 
>>
>> -bash-2.05b$ scp -p "test1.txt" ITG_user <at> 10.232.248.5:D:/junk/test1.txt 
>> ITG_user <at> 10.232.248.5's password: 
>> bash: no job control in this shell 
>>
>> ITG_user <at> drwlsw17 ~ 
>> $ /bin/ls #(here is where it locks up. I tried /bin/ls, then ^c) 
>> Killed by signal 2. 
>>
>> -bash-2.05b$ 
>>
>> As you can see, the source does not have a dns entry for drwlsw17, so I used 
> IP 
>> address.
>>
>> Any ideas would be helpful. 
>> Thanks, 
>> Ken
>>
>>
> Here is a URL to my cygcheck.out file:
> http://www.kengough.com/junk/cygcheck.out


Please use POSIX paths (i.e. /cygdrive/d/junk/test1.txt).

It appears you're getting an old version of bash when you login via scp.  It's
not obvious from your cygcheck output where that's coming from but you may
want to check where '/etc/passwd' has set your home directory and if you can
get there with a simple ssh to that machine (since your home directory is
clearly a network drive, possibly with restrictive permissions that could
also be causing you problems).  Making sure that you see the current
Cygwin environment that you installed and deleting any left-over old tools
will likely help allot.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
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