delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/08/05:11:48

X-Spam-Check-By: sourceware.org
Message-ID: <45EFE145.1050000@buongiorno.com>
Date: Thu, 08 Mar 2007 11:11:17 +0100
From: Marielle Fois <marielle DOT fois AT buongiorno DOT com>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Making sftp and ssh work on cygwin
References: <45EECEBC DOT 1000003 AT buongiorno DOT com> <gnktu2dogel1pi6ip30rd00ap357jsfeme AT 4ax DOT com> <45EEDDD2 DOT 30900 AT buongiorno DOT com> <8urtu2pg31o7p2r4uco9ao6flc7lhdl4d7 AT 4ax DOT com> <45EEF37B DOT 1050001 AT buongiorno DOT com> <022f01c760e0$67250a50$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
In-Reply-To: <022f01c760e0$67250a50$2e08a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

--------------030806040201020809080509
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



Dave Korn wrote:
>>> So you run sftp -vv user AT host and get back... nothing?  That's odd.  Maybe
>>> a local firewall problem, so you can't even connect to the remote host?
>>>
>>>       
>> I get back nothing, exactly. I tried disabling the Windows firewall, but
>> no change. I checked the sshd log in the remote host, and there is no
>> output at all when I try to connect through sftp or ssh. Btw, the sshd
>> is running on a Linux machine.
>>
>> I can connect to a remote host from my machine using an ssh client and
>> with the firewall enabled. The communication is tunneled via vpn. Does
>> this information help?
>>     
>
>
>   Quite possibly.  What kind of VPN client software are you using?  They have
> been known to interfere with cygwin apps in the past.
>
>   The other possibility is that there's a vital dll missing from your install.
> Please run "cygcheck -s -v -r > cygcheck.out" and then send the cygcheck.out
> file to the list  - *as an attachment please* - with your next post.
>   

I run "strace ssh user AT xx DOT xx DOT xx DOT xx" and I got the error that 
cygcrypto-0.9.8.dll was not installed. So I installed openssl-0.9.8d-1, 
which stored that library under /usr/bin directory. On a new cygwin 
window, I run the command again and got the same error. Then I run 
"cygcheck -s -v -r > cygcheck.out", which I send attatched. There is 
something I wonder about. In cygcheck output, there is this:

Path:    C:\Cygwin\usr\local\bin
            C:\Cygwin\bin
            C:\Cygwin\bin
            C:\Cygwin\usr\X11R6\bin
            c:\WINDOWS\system32
            c:\WINDOWS
            c:\WINDOWS\System32\Wbem
            c:\Archivos de programa\SecureCRT\
            c:\Archivos de programa\QuickTime\QTSystem\
            c:\Archivos de programa\OpenVPN\bin
            c:\Archivos de programa\SSH Communications Security\SSH 
Secure Shell

Here it is not listed the directory C:\Cygwin\usr\bin, where the 
cygcrypto library is located. But then, I checked the PATH env variable, 
and got this:

PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Archivos 
de programa/SecureCRT/:/cygdrive/c/Archivos de 
programa/QuickTime/QTSystem/:/cygdrive/c/Archivos de 
programa/OpenVPN/bin:/cygdrive/c/Archivos de programa/SSH Communications 
Security/SSH Secure Shell

where /usr/bin is listed. Does this make sense?

A last thing. The vpn client I am running is openvpn on Windows XP.

Regards,

-- 
Marielle Fois
Buongiorno SpA, www.buongiorno.com
ph: +34 911 415 100, skype: marielle.fois


--------------030806040201020809080509
Content-Type: text/plain;
 name="cygcheck.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="cygcheck.out"


Cygwin Configuration Diagnostics
Current System Time: Thu Mar 08 10:58:37 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:	C:\Cygwin\usr\local\bin
	C:\Cygwin\bin
	C:\Cygwin\bin
	C:\Cygwin\usr\X11R6\bin
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	c:\Archivos de programa\SecureCRT\
	c:\Archivos de programa\QuickTime\QTSystem\
	c:\Archivos de programa\OpenVPN\bin
	c:\Archivos de programa\SSH Communications Security\SSH Secure Shell

Output from C:\Cygwin\bin\id.exe (nontsec)
UID: 1005(Marielle)  GID: 513(Ninguno)
0(root)              513(Ninguno)         544(Administradores)
545(Usuarios)

Output from C:\Cygwin\bin\id.exe (ntsec)
UID: 1005(Marielle)  GID: 513(Ninguno)
0(root)              513(Ninguno)         544(Administradores)
545(Usuarios)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'Marielle'
PWD = '/cygdrive/c/Documents and Settings/Marielle/Mis documentos'
HOME = '/cygdrive/c/Documents and Settings/Marielle/Mis documentos/'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\Marielle'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Marielle\Datos de programa'
HOSTNAME = 'Mad-mfois'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 13 Stepping 8, GenuineIntel'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/cygdrive/c/Cygwin'
USERDOMAIN = 'MAD-MFOIS'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
!:: = '::\'
TEMP = '/cygdrive/c/DOCUME~1/Marielle/CONFIG~1/Temp'
COMMONPROGRAMFILES = 'C:\Archivos de programa\Archivos comunes'
USERNAME = 'Marielle'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\Marielle'
CLIENTNAME = 'Console'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\MAD-MFOIS'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\Cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/Marielle/CONFIG~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Xerox Document Centre 420 PS'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0d08'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Archivos de programa'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'MAD-MFOIS'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\Cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\Cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\Cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS     29996Mb  44% CP CS UN PA FC     
d:  cd             N/A    N/A                    

C:\Cygwin      /          system  binmode
C:\Cygwin/bin  /usr/bin   system  binmode
C:\Cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: C:\Cygwin\bin\awk.exe
Found: C:\Cygwin\bin\bash.exe
Found: C:\Cygwin\bin\cat.exe
Found: C:\Cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\Cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\Cygwin\bin\grep.exe
Found: C:\Cygwin\bin\kill.exe
Not Found: ld
Found: C:\Cygwin\bin\ls.exe
Not Found: make
Found: C:\Cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: C:\Cygwin\bin\rm.exe
Found: C:\Cygwin\bin\sed.exe
Found: C:\Cygwin\bin\ssh.exe
Found: C:\Cygwin\bin\sh.exe
Found: C:\Cygwin\bin\tar.exe
Found: C:\Cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   56k 2005/07/09 C:\Cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2005/7/9 7:09
    7k 2005/11/20 C:\Cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2005/11/20 3:24
    7k 2003/10/19 C:\Cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
   40k 2006/03/24 C:\Cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2006/3/24 8:16
   45k 2001/04/25 C:\Cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 7:28
   35k 2002/01/09 C:\Cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 7:03
   48k 2003/08/09 C:\Cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 11:25
   28k 2003/07/20 C:\Cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
   30k 2003/08/11 C:\Cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/11 4:12
   19k 2003/03/22 C:\Cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
   15k 2003/07/20 C:\Cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
   15k 2003/08/11 C:\Cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/11 4:13
   17k 2001/06/28 C:\Cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
   29k 2003/08/10 C:\Cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/11 1:16
   24k 2006/03/25 C:\Cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2006/3/25 15:05
  947k 2005/11/20 C:\Cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2005/11/20 3:24
   22k 2001/12/13 C:\Cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
   37k 2003/08/10 C:\Cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 23:50
   31k 2005/11/20 C:\Cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/20 3:04
   21k 2001/06/20 C:\Cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 19:09
   21k 2006/03/24 C:\Cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2006/3/24 8:16
   26k 2001/04/25 C:\Cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 7:27
   20k 2002/01/09 C:\Cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 7:03
   29k 2003/08/09 C:\Cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 11:25
   67k 2006/03/24 C:\Cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2006/3/24 8:17
  156k 2001/04/25 C:\Cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
  175k 2002/01/09 C:\Cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
  227k 2006/03/24 C:\Cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2006/3/24 5:51
  226k 2001/04/25 C:\Cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 7:17
  202k 2002/01/09 C:\Cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 7:03
  224k 2003/08/09 C:\Cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 11:24
   12k 2006/03/24 C:\Cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2006/3/24 8:16
   15k 2001/04/25 C:\Cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 7:27
   12k 2002/01/09 C:\Cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 7:03
   19k 2003/08/09 C:\Cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 11:24
  109k 2006/02/10 C:\Cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2006/2/10 3:37
  299k 2006/02/10 C:\Cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcrecpp-0.dll" v0.0 ts=2006/2/10 3:38
    7k 2006/02/10 C:\Cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2006/2/10 3:37
   22k 2002/06/09 C:\Cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
  108k 2001/06/28 C:\Cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
  148k 2003/08/10 C:\Cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/11 1:16
  152k 2006/03/25 C:\Cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2006/3/25 15:05
   65k 2005/08/23 C:\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2005/8/23 4:03
 1831k 2006/07/30 C:\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2006/7/30 20:21
    Cygwin DLL version info:
        DLL version: 1.5.21
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 156
        Shared data: 4
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Sun Jul 30 14:21:47 EDT 2006
        Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: C:\Archivos de programa\Mozilla Firefox
Last downloaded files from: ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin

Package              Version
_update-info-dir     00424-1
alternatives         1.3.20a-2
ash                  20040127-3
base-files           3.7-1
base-passwd          2.2-1
bash                 3.1-6
bzip2                1.0.3-1
coreutils            5.97-1
crypt                1.1-1
cygutils             1.3.0-1
cygwin               1.5.21-2
cygwin-doc           1.4-4
diffutils            2.8.7-1
editrights           1.01-1
findutils            4.3.0-2
gawk                 3.1.5-4
gdbm                 1.8.3-7
grep                 2.5.1a-2
groff                1.18.1-2
gzip                 1.3.5-2
less                 381-1
libbz2_1             1.0.3-1
libcharset1          1.9.2-2
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-7
libgdbm3             1.8.3-3
libgdbm4             1.8.3-7
libiconv             1.9.2-2
libiconv2            1.9.2-2
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.12.1-3
libintl3             0.14.5-1
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-4
libncurses8          5.5-2
libpcre0             6.6-1
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-5
libreadline6         5.1-5
login                1.9-7
man                  1.5p-1
mktemp               1.5-3
ncurses              5.5-2
run                  1.1.10-1
sed                  4.1.5-2
tar                  1.15.91-1
termcap              20050421-1
terminfo             5.5_20060323-1
texinfo              4.8-3
which                1.7-1
zlib                 1.2.3-1
Use -h to see help about each section


--------------030806040201020809080509
Content-Type: text/plain; charset=us-ascii

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

- Raw text -


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