This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, 3 Jul 2006, Tzung-Cheng Yang wrote:
I tried to make passwordless sftp work between a Windows 2000 system running cygwin and a Redhat Linux Enterprise 4 box.
After I putting the id_rsa.pub in ~/.ssh/authorized_keys on remote host(linux box), the sftp still keeps asking password.
I also changed the following on the /etc/ssh/sshd_config file on remote hosts
RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys
Can anybody help to solve the problem?
Here is the message
$ sftp -v tcy@nhic2
[snip]
Try reading and following
Problem reports: http://cygwin.com/problems.html
especially the part about attaching the output of "cygcheck -svr" on your machine.
Also, "sftp -vvv ..." should produce more debugging info which may point
to the source of the problem.
Igor
Cygwin Configuration Diagnostics Current System Time: Mon Jul 03 13:08:31 2006 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: F:\cygwin\usr\local\bin F:\cygwin\bin F:\cygwin\bin F:\cygwin\usr\X11R6\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\Program Files\Common Files\Adaptec Shared\System c:\Program Files\QuickTime\QTSystem\ c:\Program Files\Expect-5.21\bin F:\cygwin\bin Output from F:\cygwin\bin\id.exe (nontsec) UID: 11524(YangT) GID: 10545(mkgroup-l-d) 0(root) 544(Administrators) 545(Users) 10545(mkgroup-l-d) Output from F:\cygwin\bin\id.exe (ntsec) UID: 11524(YangT) GID: 10545(mkgroup-l-d) 0(root) 544(Administrators) 545(Users) 10545(mkgroup-l-d) SysDir: C:\WINNT\system32 WinDir: C:\WINNT USER = 'YangT' PWD = '/cygdrive/h' HOME = '/cygdrive/h' MAKE_MODE = 'unix' HOMEPATH = '\' MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man' APPDATA = 'f:\Documents and Settings\yangt\Application Data' HOSTNAME = 'os-13347a' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 7, GenuineIntel' WINDIR = 'C:\WINNT' OLDPWD = '/usr/bin' USERDOMAIN = 'NWS' OS = 'Windows_NT' ALLUSERSPROFILE = 'f:\Documents and Settings\All Users' OS2LIBPATH = 'C:\WINNT\system32\os2\dll;' TEMP = '/cygdrive/f/DOCUME~1/yangt/LOCALS~1/Temp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' !F: = 'F:\cygwin\bin' QTJAVA = 'C:\Program Files\Java\j2re1.4.1_02\lib\ext\QTJava.zip' USERNAME = 'YangT' PROCESSOR_LEVEL = '15' SYSTEMDRIVE = 'C:' USERPROFILE = 'f:\Documents and Settings\yangt' PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' LOGONSERVER = '\\NWS-AD2' PROCESSOR_ARCHITECTURE = 'x86' SHLVL = '1' USERDNSDOMAIN = 'nws.noaa' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'H:' PROMPT = '$P$G' COMSPEC = 'C:\WINNT\system32\cmd.exe' TMP = '/cygdrive/f/DOCUME~1/yangt/LOCALS~1/Temp' SYSTEMROOT = 'C:\WINNT' PRINTER = '\\oz\glinda' CVS_RSH = '/bin/ssh' PROCESSOR_REVISION = '0207' CLASSPATH = 'C:\Program Files\Java\j2re1.4.1_02\lib\ext\QTJava.zip' INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:' PROGRAMFILES = 'C:\Program Files' HOMESHARE = '\\NWS-FS1\YangT$' NUMBER_OF_PROCESSORS = '1' COMPUTERNAME = 'OS-13347A' _ = '/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 = 0x00000020 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 'F:\cygwin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 'F:\cygwin/bin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = 'F:\cygwin/lib' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 10236Mb 41% CP CS UN PA FC d: hd NTFS 19877Mb 1% CP CS UN PA FC New Volume e: cd N/A N/A f: hd NTFS 9569Mb 21% CP CS UN PA FC My Files h: net NTFS 2097149Mb 50% CP CS UN PA FC FS1 m: net NTFS 511993Mb 45% CP CS UN PA FC FS2 s: net NTFS 2097149Mb 50% CP CS UN PA FC FS1 u: net NTFS 511993Mb 45% CP CS UN PA FC FS2 F:\cygwin / system textmode F:\cygwin/bin /usr/bin system textmode F:\cygwin/lib /usr/lib system textmode . /cygdrive system textmode,cygdrive Found: F:\cygwin\bin\awk.exe Found: F:\cygwin\bin\bash.exe Found: F:\cygwin\bin\cat.exe Found: F:\cygwin\bin\cp.exe Not Found: cpp (good!) Not Found: crontab Found: F:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: F:\cygwin\bin\grep.exe Found: F:\cygwin\bin\kill.exe Not Found: ld Found: F:\cygwin\bin\ls.exe Not Found: make Found: F:\cygwin\bin\mv.exe Not Found: patch Not Found: perl Found: F:\cygwin\bin\rm.exe Found: F:\cygwin\bin\sed.exe Found: F:\cygwin\bin\ssh.exe Found: F:\cygwin\bin\sh.exe Found: F:\cygwin\bin\tar.exe Found: F:\cygwin\bin\test.exe Not Found: vi Not Found: vim 56k 2005/07/09 F:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2005/7/9 1:09 7k 2005/11/20 F:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2005/11/19 21:24 7k 2003/10/19 F:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 3:57 1108k 2006/06/01 F:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.7.dll" v0.0 ts=2006/6/1 11:50 1050k 2006/06/01 F:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2006/6/1 12:08 40k 2006/03/24 F:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2006/3/24 2:16 45k 2001/04/25 F:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/25 1:28 35k 2002/01/09 F:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2002/1/9 1:03 48k 2003/08/09 F:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0 "cygform7.dll" v0.0 ts=2003/8/9 5:25 28k 2003/07/20 F:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-3.dll" v0.0 ts=2003/7/20 3:58 30k 2003/08/11 F:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2003/8/10 22:12 19k 2003/03/22 F:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2002/2/19 22:05 15k 2003/07/20 F:\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 4:00 15k 2003/08/11 F:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 22:13 17k 2001/06/28 F:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 23:34 29k 2003/08/10 F:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2003/8/10 19:16 24k 2006/03/25 F:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2006/3/25 9:05 947k 2005/11/20 F:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2005/11/19 21:24 22k 2001/12/13 F:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 4:28 37k 2003/08/10 F:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 17:50 31k 2005/11/20 F:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2005/11/19 21:04 21k 2001/06/20 F:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2001/6/20 13:09 21k 2006/03/24 F:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2006/3/24 2:16 26k 2001/04/25 F:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/25 1:27 20k 2002/01/09 F:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2002/1/9 1:03 29k 2003/08/09 F:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0 "cygmenu7.dll" v0.0 ts=2003/8/9 5:25 21k 2004/10/22 F:\cygwin\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0 "cygminires.dll" v0.0 ts=2004/10/22 16:28 67k 2006/03/24 F:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2006/3/24 2:17 156k 2001/04/25 F:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29 175k 2002/01/09 F:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03 227k 2006/03/24 F:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2006/3/23 23:51 226k 2001/04/25 F:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/25 1:17 202k 2002/01/09 F:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2002/1/9 1:03 224k 2003/08/09 F:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 "cygncurses7.dll" v0.0 ts=2003/8/9 5:24 12k 2006/03/24 F:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2006/3/24 2:16 15k 2001/04/25 F:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/25 1:27 12k 2002/01/09 F:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2002/1/9 1:03 19k 2003/08/09 F:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0 "cygpanel7.dll" v0.0 ts=2003/8/9 5:24 176k 2005/09/06 F:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2005/9/6 16:49 299k 2005/09/06 F:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcrecpp-0.dll" v0.0 ts=2005/9/6 17:26 6k 2005/09/06 F:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2005/9/6 17:26 22k 2002/06/09 F:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/9 1:45 108k 2001/06/28 F:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 23:34 148k 2003/08/10 F:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2003/8/10 19:16 152k 2006/03/25 F:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2006/3/25 9:05 230k 2006/06/01 F:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.7.dll" v0.0 ts=2006/6/1 11:50 214k 2006/06/01 F:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.8.dll" v0.0 ts=2006/6/1 12:08 65k 2005/08/23 F:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2005/8/22 22:03 1763k 2006/01/20 F:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2006/1/20 13:28 Cygwin DLL version info: DLL version: 1.5.19 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 150 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: Fri Jan 20 13:28:43 EST 2006 CVS tag: cr-0x5ef Shared id: cygwin1S4 No Cygwin services found. Cygwin Package Information Last downloaded files to: F:\cygwin Last downloaded files from: ftp://ftp.cise.ufl.edu/pub/mirrors/cygwin Package Version _update-info-dir 00401-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.94-1 crypt 1.1-1 cygrunsrv 1.17-1 cygutils 1.3.0-1 cygwin 1.5.19-4 cygwin-doc 1.4-3 diffutils 2.8.7-1 editrights 1.01-1 findutils 4.2.27-1 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.3-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 minires 1.00-1 mktemp 1.5-3 ncurses 5.5-2 openssh 4.3p2-3 openssl 0.9.8b-1 openssl097 0.9.7j-1 ping 1.0-1 run 1.1.10-1 sed 4.1.5-1 tar 1.15.1-4 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
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |