Please ignore the previous mails re. - Re: cygwin server sends the same key fingerprint all the time

Soumya soumya_soumya1@yahoo.com
Fri Apr 28 12:36:00 GMT 2006


Hi,

 please ignore the mail regarding the key fingerprint. We have found the solution to our problem,
namely the key lying in ssh_host_key file.

thanks and regards,
soumya.

--- Soumya <soumya_soumya1@yahoo.com> wrote:

> Hi,
> 
>  thank you very much for replying and aplologies for my newbieness. (that was the cygcheck -v
> output I mentioned earlier, I am attaching the whole cygcheck output here at the end of this
> mail
> now).
>  I have tried to get some info on the net to solve my questions, but have failed. 
>  As I mentioned in the description below, I still have this problem of receiving the same key
> fingerprint from the host whatever new public key I append to authorized_keys1 (and
> authorized_keys) file. 
> 
> I create a new public/private key pair on my client, copy public key to authorized_keys file,
> copy
> public key details to client known_hosts file and using j2ssh API, connect to host, I get the
> following message :
> 
> The host key fingerprint is: 1030: b2 49 71 88 9d 6 5e e0 c1 97 52 1 be b6 da a7
> Do you want to allow this host key? [Yes|No|Always]:
> 
> No matter what new key pair I use, I get the same fingerprint on the client.
> 
> I do stop (cygrunsrv --stop sshd) and start (cygrunsrv --start sshd) after a new key pair
> process.
> 
> I would like to know where cygwin loads the keys from. 
> 
> many thanks in advance,
> Soumya
> 
> ---
> 
> Cygwin Configuration Diagnostics
> Current System Time: Fri Apr 28 12:05:00 2006
> 
> Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4
> 
> Path:	D:\Apps\Cygwin\usr\local\bin
> 	D:\Apps\Cygwin\bin
> 	D:\Apps\Cygwin\bin
> 	c:\Programme\TCL8.4.1.0\bin
> 	c:\WINNT\system32
> 	c:\WINNT
> 	c:\WINNT\System32\Wbem
> 	d:\Apps\NetBeans\j2sdk1.4.2\bin
> 	d:\apps\apache-ant-1.6.0\bin
> 	d:\apps\Perforce
> 	d:\apps\iText
> 	D:\Apps\Cygwin\bin
> 	c:\Programme\Rational\common
> 	c:\Programme\EasyPHP1-7\mysql\bin
> 
> Output from D:\Apps\Cygwin\bin\id.exe (nontsec)
> UID: 500(Administrator) GID: 513(None)
> 0(root)                 513(None)               544(Administratoren)
> 545(User)
> 
> Output from D:\Apps\Cygwin\bin\id.exe (ntsec)
> UID: 500(Administrator) GID: 513(None)
> 0(root)                 513(None)               544(Administratoren)
> 545(User)
> 
> SysDir: C:\WINNT\system32
> WinDir: C:\WINNT
> 
> USER = `Administrator'
> PWD = `/home/Administrator'
> CYGWIN = `ntsec tty'
> HOME = `/home/Administrator'
> MAKE_MODE = `unix'
> 
> HOMEPATH = `\Dokumente und Einstellungen\Administrator'
> MANPATH = `:/usr/ssl/man'
> APPDATA = `C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten'
> TERM = `cygwin'
> PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
> WINDIR = `C:\WINNT'
> TISDIR = `C:\Programme\Rational\common'
> OLDPWD = `/usr/bin'
> USERDOMAIN = `PC-ARMN'
> OS = `Windows_NT'
> ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
> ANT_HOME = `d:\apps\apache-ant-1.6.0'
> OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
> TEMP = `/cygdrive/c/DOKUME~1/ADMINI~1/LOKALE~1/Temp'
> COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
> IBMLDAP_ALTHOME = `C:\Programme\Rational\common\codeset'
> RATL_RTHOME = `C:\Programme\Rational\Rational Test'
> USERNAME = `Administrator'
> NUTSUFFIX = `1'
> PROCESSOR_LEVEL = `6'
> SYSTEMDRIVE = `C:'
> JAVA_HOME = `C:\Programme\Java\j2re1.4.2_01'
> USERPROFILE = `C:\Dokumente und Einstellungen\Administrator'
> PS1 = `\[\033]0;\w\007
> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> $ '
> LOGONSERVER = `\\PC-ARMN'
> PROCESSOR_ARCHITECTURE = `x86'
> !C: = `C:\Dokumente und Einstellungen\Administrator\Desktop'
> SHLVL = `1'
> RWPHOME = `C:\Programme\Rational\common\rwp'
> PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl'
> ITEXT_HOME = `d:\apps\iText'
> HOMEDRIVE = `C:'
> !D: = `D:\Apps\Cygwin\bin'
> NUT_SUFFIXED_SEARCHING = `1'
> PROMPT = `$P$G'
> COMSPEC = `C:\WINNT\system32\cmd.exe'
> TMP = `/cygdrive/c/DOKUME~1/ADMINI~1/LOKALE~1/Temp'
> SYSTEMROOT = `C:\WINNT'
> PROCESSOR_REVISION = `0703'
> CLASSPATH =
>
`;C:\Programme\Java\j2re1.4.2_01\jaxp.jar;D:\Apps\NetBeans\j2sdk1.4.2\jre\lib;d:\apps\iText\iText.jar;d:\apps\iText\itext-xml-1.02.jar;'
> PROGRAMFILES = `C:\Programme'
> NUMBER_OF_PROCESSORS = `1'
> COMPUTERNAME = `PC-ARMN'
> _ = `/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) = `D:\Apps\Cygwin'
>   flags = 0x0000000a
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
>   (default) = `D:\Apps\Cygwin/bin'
>   flags = 0x0000000a
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
>   (default) = `D:\Apps\Cygwin/lib'
>   flags = 0x0000000a
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
> 
> a:  fd             N/A    N/A                    
> c:  hd  NTFS     10503Mb  62% CP CS UN PA FC     Part I
> d:  hd  NTFS     28505Mb  41% CP CS UN PA FC     Part II
> e:  cd             N/A    N/A                    
> 
> D:\Apps\Cygwin      /          system  binmode
> D:\Apps\Cygwin/bin  /usr/bin   system  binmode
> D:\Apps\Cygwin/lib  /usr/lib   system  binmode
> .                   /cygdrive  system  binmode,cygdrive
> 
> Found: D:\Apps\Cygwin\bin\awk.exe
> Found: D:\Apps\Cygwin\bin\bash.exe
> Found: D:\Apps\Cygwin\bin\cat.exe
> Found: D:\Apps\Cygwin\bin\cp.exe
> Not Found: cpp (good!)
> Found: D:\Apps\Cygwin\bin\find.exe
> Not Found: gcc
> Not Found: gdb
> Found: D:\Apps\Cygwin\bin\grep.exe
> Not Found: ld
> Found: D:\Apps\Cygwin\bin\ls.exe
> Not Found: make
> Found: D:\Apps\Cygwin\bin\mv.exe
> Found: D:\Apps\Cygwin\bin\rm.exe
> Found: D:\Apps\Cygwin\bin\sed.exe
> Found: D:\Apps\Cygwin\bin\sh.exe
> Found: D:\Apps\Cygwin\bin\tar.exe
> 
>    56k 2005/07/09 D:\Apps\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
>    18k 2004/07/06 D:\Apps\Cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygcharset-1.dll" v0.0 ts=2004/7/6 20:09
>     7k 2003/10/19 D:\Apps\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
>   858k 2005/04/11 D:\Apps\Cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
>                   "cygcrypto-0.9.7.dll" v0.0 ts=2005/4/11 20:21
>  1042k 2005/07/07 D:\Apps\Cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
>                   "cygcrypto-0.9.8.dll" v0.0 ts=2005/7/7 11:06
>    40k 2005/07/10 D:\Apps\Cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
>                   "cygform-8.dll" v0.0 ts=2005/7/10 5:29
>    45k 2001/04/25 D:\Apps\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 D:\Apps\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 D:\Apps\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 D:\Apps\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 D:\Apps\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 D:\Apps\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 D:\Apps\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 D:\Apps\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
>   107k 2004/07/06 D:\Apps\Cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0
>                   "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 19:56
>    17k 2004/07/06 D:\Apps\Cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
>                   "cyggettextpo-0.dll" v0.0 ts=2004/7/6 19:56
>   190k 2004/07/06 D:\Apps\Cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0
>                   "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 19:56
>    17k 2001/06/28 D:\Apps\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 D:\Apps\Cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
>                   "cyghistory5.dll" v0.0 ts=2003/8/11 1:16
>    24k 2005/07/29 D:\Apps\Cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
>                   "cyghistory6.dll" v0.0 ts=2005/7/29 5:57
>   991k 2004/07/06 D:\Apps\Cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
>                   "cygiconv-2.dll" v0.0 ts=2004/7/6 20:10
>    22k 2001/12/13 D:\Apps\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 D:\Apps\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
>    54k 2004/07/06 D:\Apps\Cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
>                   "cygintl-3.dll" v0.0 ts=2004/7/6 19:51
>    21k 2001/06/20 D:\Apps\Cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
>                   "cygintl.dll" v0.0 ts=2001/6/20 19:09
>    21k 2005/07/10 D:\Apps\Cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
>                   "cygmenu-8.dll" v0.0 ts=2005/7/10 5:28
>    26k 2001/04/25 D:\Apps\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 D:\Apps\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 D:\Apps\Cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
>                   "cygmenu7.dll" v0.0 ts=2003/8/9 11:25
>    21k 2004/10/22 D:\Apps\Cygwin\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0
>                   "cygminires.dll" v0.0 ts=2004/10/22 22:28
>    67k 2005/07/10 D:\Apps\Cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
>                   "cygncurses++-8.dll" v0.0 ts=2005/7/10 5:29
>   156k 2001/04/25 D:\Apps\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 D:\Apps\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
>   225k 2005/07/10 D:\Apps\Cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
>                   "cygncurses-8.dll" v0.0 ts=2005/7/10 5:15
>   226k 2001/04/25 D:\Apps\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 D:\Apps\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 D:\Apps\Cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
>                   "cygncurses7.dll" v0.0 ts=2003/8/9 11:24
>    11k 2005/07/10 D:\Apps\Cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpanel-8.dll" v0.0 ts=2005/7/10 5:28
>    15k 2001/04/25 D:\Apps\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 D:\Apps\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 D:\Apps\Cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpanel7.dll" v0.0 ts=2003/8/9 11:24
>    62k 2003/12/11 D:\Apps\Cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpcre-0.dll" v0.0 ts=2003/12/11 18:01
>    63k 2003/04/11 D:\Apps\Cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpcre.dll" v0.0 ts=2003/4/11 10:31
>     9k 2003/12/11 D:\Apps\Cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpcreposix-0.dll" v0.0 ts=2003/12/11 18:01
>    61k 2003/04/11 D:\Apps\Cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpcreposix.dll" v0.0 ts=2003/4/11 10:31
>    22k 2002/06/09 D:\Apps\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 D:\Apps\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 D:\Apps\Cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
>                   "cygreadline5.dll" v0.0 ts=2003/8/11 1:16
>   144k 2005/07/29 D:\Apps\Cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
>                   "cygreadline6.dll" v0.0 ts=2005/7/29 5:57
>   171k 2005/04/11 D:\Apps\Cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
>                   "cygssl-0.9.7.dll" v0.0 ts=2005/4/11 20:21
>   217k 2005/07/07 D:\Apps\Cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
>                   "cygssl-0.9.8.dll" v0.0 ts=2005/7/7 11:07
>    65k 2005/08/23 D:\Apps\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
>                   "cygz.dll" v0.0 ts=2005/8/23 4:03
>  1265k 2005/07/03 D:\Apps\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2005/7/3 2:30
>     Cygwin DLL version info:
>         DLL version: 1.5.18
>         DLL epoch: 19
>         DLL bad signal mask: 19005
>         DLL old termios: 5
>         DLL malloc env: 28
>         API major: 0
>         API minor: 132
>         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: Sat Jul 2 20:30:04 EDT 2005
>         Shared id: cygwin1S4
> 
> 
> Service             : sshd
> Display name        : CYGWIN sshd
> Current State       : Running
> Controls Accepted   : Stop
> Command             : /usr/sbin/sshd -D
> stdin path          : /dev/null
> stdout path         : /var/log/sshd.log
> stderr path         : /var/log/sshd.log
> Environment         : CYGWIN="ntsec tty" 
> Process Type        : Own Process
> Startup             : Automatic
> Account             : LocalSystem
> 
> 
> Cygwin Package Information
> Last downloaded files to: D:\Softwares\cygwin\downloadedFiles
> Last downloaded files from:
> ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin
> 
> Package              Version
> _update-info-dir     00294-1
> alternatives         1.3.20a-1
> ash                  20040127-3
> base-files           3.6-1
> base-passwd          2.2-1
> bash                 3.0-11
> bzip2                1.0.3-1
> coreutils            5.3.0-9
> crypt                1.1-1
> cygrunsrv            1.10-1
> cygutils             1.2.9-1
> cygwin               1.5.18-1
> cygwin-doc           1.4-2
> diffutils            2.8.7-1
> editrights           1.01-1
> fileutils            4.1-3
> findutils            20041227-1
> gawk                 3.1.5-1
> gdbm                 1.8.3-7
> grep                 2.5.1a-2
> groff                1.18.1-2
> gzip                 1.3.5-1
> less                 381-1
> libbz2_1             1.0.3-1
> libcharset1          1.9.2-1
> libgdbm              1.8.0-5
> libgdbm-devel        1.8.3-7
> libgdbm3             1.8.3-3
> libgdbm4             1.8.3-7
> libgettextpo0        0.14.1-1
> libiconv             1.9.2-1
> libiconv2            1.9.2-1
> libintl              0.10.38-3
> libintl1             0.10.40-1
> libintl2             0.12.1-3
> libintl3             0.14.1-1
> libncurses5          5.2-1
> libncurses6          5.2-8
> libncurses7          5.3-4
> libncurses8          5.4-2
> libpcre              4.1-1
> libpcre0             4.5-1
> libpopt0             1.6.4-4
> libreadline4         4.1-2
> libreadline5         4.3-5
> libreadline6         5.0-4
> login                1.9-7
> man                  1.5p-1
> minires              1.00-1
> mktemp               1.5-3
> ncurses              5.4-2
> openssh              4.1p1-2
> openssl              0.9.8-2
> openssl097           0.9.7g-1
> readline             5.0-4
> rsync                2.6.6-1
> sed                  4.1.4-1
> sh-utils             2.0.15-5
> tar                  1.15.1-2
> termcap              20050421-1
> terminfo             5.4_20041009-1
> texinfo              4.8-1
> textutils            2.0.21-2
> which                1.7-1
> zlib                 1.2.3-1
> Use -h to see help about each section
> -------
> 
> 
> --- Igor Peshansky <pechtcha@cs.nyu.edu> wrote:
> 
> > On Wed, 19 Apr 2006, Soumya wrote:
> > 
> > > Hi,
> > >
> > >  I have cygwin 1.74 server running on Windows 2000. I connect to this
> > 
> > What on Earth is "cygwin 1.74 server"?
> > 
> > > server programmatically (using sshtools java API that supports OpenSSH)
> > > to execute secure ftp.
> > >  I created public/private key pair, appended the public key (converted
> > > to openSSH) authorized_keys and authorized_keys1 on server.
> > >  Everything worked fine. I was asked "Do you want to accept this key ?"
> > > the first time and the known_hosts file was written and subsequent
> > > connections went without interruptions.
> > >  I am trying to use new keys and paste my public key to known_hosts on
> > > the client, so that even on the first connection, the prompt wouldn't
> > > appear.
> > >  At this time, I realised that whatever new key I append to the servers
> > > authorized_keys files and whatever private key file I use on the client,
> > > the server (remote) sends in the SAME key fingerprint every time. I even
> > > erased everything from authorized_keys files and tried connection, I
> > > still get a key fingerprint and if I accept it, it is written to
> > > client's known_hosts.
> > >
> > >  Doesn't this mean that cygwin is not loading my new keys and that the
> > > previous key is stored somewhere else which I do not know ? I restart
> > > the server every time I append a key ( cygrunsrv --start sshd ).
> > 
> > One WAG: do you actually *stop* sshd before you "restart" it?  If the sshd
> > service is running, "cygrunsrv --start sshd" does nothing and makes it
> > look like it succeeds.
> > 
> > But we can't really help you until you follow all the directions here:
> > > Problem reports:       http://cygwin.com/problems.html
> > 	Igor
> > -- 
> > 				http://cs.nyu.edu/~pechtcha/
> >       |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
> > ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
> >      |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
> >     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> > 
> > "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
> > "But no -- you are no fool; you call yourself a fool, there's proof enough in
> > that!" -- Rostand, "Cyrano de Bergerac"
> > 
> > --
> > 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/
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> --
> 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/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



More information about the Cygwin mailing list