X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Ken Gough Subject: Re: Can't scp to a server running cygwin Date: Tue, 11 Jul 2006 14:03:43 +0000 (UTC) Lines: 72 Message-ID: References: <44B2B5E7 DOT 8060003 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Larry Hall (Cygwin cygwin.com> writes: > > Ken Gough wrote: > > Ken Gough 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 10.232.248.5:D:/junk/test1.txt > >> ITG_user 10.232.248.5's password: > >> bash: no job control in this shell > >> > >> ITG_user 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). OK, same result. > > It appears you're getting an old version of bash when you login via scp. Are you saying this because of the prompt: -bash-2.05b$ This is on the remote Linux server, not cygwin > 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 I tried, and I get a good ssh session and able to source .bash_profile > (since your home directory is > clearly a network drive, possibly with restrictive permissions that could > also be causing you problems). an admin user with a network drive was used to generate the first file, here is the cygcheck file generated by ITG_user: http://www.kengough.com/junk/cygcheck_ITG_user.out > Making sure that you see the current > Cygwin environment that you installed and deleting any left-over old tools > will likely help allot. > The last install was done by deleting the entire cygwin folder, removing all cygwin service users, and following the uninstall instructions, then reinstalling. Besides which, I have never installed anything except this one distro. Thanks, Ken -- 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/