This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Updated: OpenSSH-2.3.0p1
Corinna Vinschen wrote:
>
> chmod 600 /etc/ssh_host_key /etc/ssh_host_dsa_key
>
> ... if
> you're starting from LocalSystem account change the owner to `system'.
I got the same error as Richard, but then I tried all this and now I'm
getting this:
> /$ ssh animal.ihug.co.nz
> 2f 65 74 63 2f 70 72 69
> Disconnecting: Bad packet length 795178083.
I'm running sshd from inetd. It was working fine before the upgrade.
I'm pretty sure I've done what you suggested above; here's what the
relevant files look like now:
> /etc$ ls -l
> total 29
> -rw-rw-rw- 1 ross.s Administ 583 Jun 28 10:29 group
> -rwxrwxrwx 1 544 None 1994 Oct 4 10:39 inetd.conf
> -rwxrwxrwx 1 544 None 1997 Aug 15 11:23 inetd.conf.backup
> -rw-rw-rw- 1 ross.s Administ 747 Sep 12 10:40 passwd
> -rwxrwxrwx 1 544 None 471 Oct 6 11:07 profile
> drwxrwxrwt 2 544 None 24576 Nov 9 17:42 setup
> -rw-rw-rw- 1 ross.s Administ 995 Nov 9 18:15 ssh_config
> -rw------- 1 system Administ 668 Nov 9 18:15 ssh_host_dsa_key
> -rw-rw-rw- 1 ross.s Administ 604 Nov 9 18:15 ssh_host_dsa_key.pub
> -rw------- 1 system Administ 528 Nov 9 18:15 ssh_host_key
> -rw-rw-rw- 1 ross.s Administ 333 Nov 9 18:15 ssh_host_key.pub
> -rwxrwxrwx 1 544 None 999 Aug 15 11:38 sshd_config
> -rwxrwxrwx 1 544 None 12265 Oct 21 18:32 termcap
I tried sshd -d as you suggested to Richard; I have no idea what any of
this means but presumably it will tell you something:
> /usr/sbin$ ./sshd.exe -d
> debug1: sshd version OpenSSH_2.3.0p1
> debug1: Seeding random number generator
> error: Could not load host key: /usr/local/etc/ssh_host_key: No such file or directory
> Disabling protocol version 1
> error: Could not load DSA host key: /etc/ssh_host_dsa_key
> Disabling protocol version 2
> sshd: no hostkeys available -- exiting.
> sshd: no hostkeys available -- exiting.
Output of cygwin -s -v -r follows.
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Nov 9 18:26:43 2000
WinNT Ver 4.0 build 1381 Service Pack 6
Path: /usr/bin
/usr/local/bin
/c/WINNT/system32
/c/WINNT
/c/Program Files/MTS
/g/back_office/sql_server/BINN
/g/software/nt4_ddk/bin
/g/software/tcl/bin
/c/bin
/g/software/emacs/bin
/g/software/image_magick
/g/software/microsoft_visual_studio/Common/Tools/WinNT
/g/software/microsoft_visual_studio/Common/MSDev98/Bin
/g/software/microsoft_visual_studio/Common/Tools
/g/software/microsoft_visual_studio/VC98/bin
/g/projects/tools/bin
/g/software/borlandcplusplus/Bin
/g/software/BMRT2.5/bin
/g/software/microsoft_sdk/Bin/WinNT/NT4
/g/software/microsoft_sdk/Bin/
/g/software/microsoft_sdk/Bin/WinNT
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
CYGWIN = `binmode ntsec strip_title title tty'
C_INCLUDE_PATH =
`c:\cplusplus\class_library;c:\cplusplus\include;c:\projects\qwin'
HOME = `/c/WINNT/Profiles/ross.s/home'
LD_LIBRARY_PATH =
`/c/cplusplus/class_library/lib/gcc;c:/cplusplus/include;c:/cplusplus/libraries;c:/projects/qwin'
LIBRARY_PATH =
`c:\cplusplus\class_library\lib\gcc;c:\cplusplus\include;c:\cplusplus\libraries;c:\projects\qwin'
MAKE_MODE = `UNIX'
PWD = `/usr/sbin'
!C: = `C:\cygwin'
BASEDIR = `g:\software\nt4_ddk'
BASEMAKE = `G:\software\microsoft_sdk\Include\BKOffice.Mak'
BKOFFICE = `G:\software\microsoft_sdk\'
BMRTHOME = `G:\software\BMRT2.5\'
CGI_DIRECTORY = `/g/server_root/http/cgi-bin'
COMPUTERNAME = `ANIMAL'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CPLUS_INCLUDE_PATH =
`c:\cplusplus\class_library;c:\cplusplus\include;c:\projects\qwin'
DDKDRIVE = `g:'
DELEGATE_PATH = `g:\software\image_magick'
DXSDKROOT = `G:\software\microsoft_sdk\'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `ANIMAL'
HOSTTYPE = `i686'
INCLUDE =
`G:\software\microsoft_sdk\Include\;G:\software\microsoft_sdk\Include\Atl30\;c:\cplusplus\class_library;c:\cplusplus\include;G:\software\microsoft_visual_studio\VC98\atl\include;G:\software\microsoft_visual_studio\VC98\mfc\include;G:\software\microsoft_visual_studio\VC98\include;g:\software\tcl\include'
INETSDK = `G:\software\microsoft_sdk\'
LESS = `-Q'
LIB =
`G:\software\microsoft_sdk\Lib\;c:\cplusplus\class_library\lib\msvc;c:\cplusplus\include;c:\cplusplus\libraries;G:\software\microsoft_visual_studio\VC98\mfc\lib;G:\software\microsoft_visual_studio\VC98\lib;g:\software\tcl\lib'
LOGONSERVER = `\\ANIMAL'
MACHTYPE = `i686-pc-cygwin'
MSDEVDIR = `G:\software\microsoft_visual_studio\Common\MSDev98'
MSSDK = `G:\software\microsoft_sdk\'
MSTOOLS = `G:\software\microsoft_sdk\'
MSVCDIR = `G:\software\microsoft_visual_studio\VC98'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin'
OS_TYPE = `windows'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PRELOAD_WINSOCK = `1'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0703'
PROMPT = `$P$G'
PS1 = `\w$ '
RS_LIBRARY = `/g/projects/library'
SERVER_ROOT = `/g/server_root'
SHADERS = `G:\software\BMRT2.5\shaders'
SHELL = `/bin/bash'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `/c/TEMP'
TERM = `cygwin'
TMP = `/c/TEMP'
USERDOMAIN = `ANIMAL'
USERNAME = `ross.s'
USERPROFILE = `C:\WINNT\Profiles\ross.s'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
TZ = `NZST-12NZDT-13,M10.1.0/2,M3.3.0/2'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
(default) = `\\.\tape1:'
unix = `/dev/st1'
fmixed = 0x00000000
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
(default) = `\\.\tape0:'
unix = `/dev/st0'
fmixed = 0x00000000
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
(default) = `\\.\b:'
unix = `/dev/fd1'
fmixed = 0x00000000
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
(default) = `\\.\a:'
unix = `/dev/fd0'
fmixed = 0x00000000
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
(default) = `c:'
unix = `/'
fmixed = 0x00000000
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed
Components\C:/cygwin
(default) = `20000627'
bash = `0002.0004.0001'
binutils = `20000625'
bison = `0000'
byacc = `0000'
bzip = `0000'
clear = `0001.0000'
crypt = `0001.0000'
cygwin = `0001.0001.0002'
dejagnu = `0000'
diff = `0000'
expect = `0000'
fileutils = `0000'
findutils = `0000'
flex = `0000'
gawk = `0003.0000.0004'
gcc = `0002.0095.0002.0002'
gdb = `20000610'
gperf = `0000'
grep = `0000'
groff = `0001.011a.0001'
gzip = `0000'
inetutils = `0001.0003.0002.0004'
less = `0000'
libpng = `0001.0000.0006.0001'
login = `0001.0003'
m = `0000'
make = `0003.0079.0003'
man = `0001.005g.0002'
opengl = `0001.0002.0001.0001'
patch = `0000'
sed = `0003.0002.0001'
shellutils = `0000'
tar = `0000'
tcltk = `20000610'
termcap = `20000630'
texinfo = `0000'
textutils = `0002.0000.0001'
time = `0000'
zlib = `0001.0001.0003.0001'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `c:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/a
(default) = `A:\'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
(default) = `C:\'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cdrom
(default) = `H:'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d
(default) = `D:\'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/e
(default) = `E:\'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/f
(default) = `F:\'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/g
(default) = `G:\'
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.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1D
a: fd N/A N/A
c: hd NTFS 2000Mb 78% CP CS UN PA FC NTFS1
d: hd NTFS 996Mb 53% CP CS UN PA FC NTFS2
e: hd NTFS 517Mb 1% CP CS UN PA FC NTFS3
f: hd FAT 603Mb 1% CP UN FAT1
g: hd NTFS 13021Mb 85% CP CS UN PA FC NTFS4
h: cd N/A N/A
c:\cygwin\bin /usr/bin system binmode
c:\cygwin\lib /usr/lib system binmode
c:\cygwin / system binmode
A: /a system binmode
C: /c system binmode
D: /d system binmode
E: /e system binmode
F: /f system binmode
G: /g system binmode
H: /cdrom system binmode
Found: c:\cygwin\bin\bash.exe
Found: c:\cygwin\bin\cat.exe
Found: c:\cygwin\bin\cpp.exe
Found: c:\cygwin\bin\find.exe
Found: c:\cygwin\bin\gcc.exe
Found: c:\cygwin\bin\gdb.exe
Found: c:\cygwin\bin\ld.exe
Found: c:\cygwin\bin\ls.exe
Found: c:\cygwin\bin\make.exe
Found: G:\software\borlandcplusplus\Bin\make.exe
Warning: c:\cygwin\bin\make.exe hides
G:\software\borlandcplusplus\Bin\make.exe
Found: c:\cygwin\bin\sh.exe
82k 2000/11/07 c:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2000/11/8 8:56
18k 2000/10/23 c:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2000/10/23 15:26
14k 2000/10/23 c:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2000/10/24 8:02
83k 2000/06/11 c:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000/6/11 15:34
35k 2000/06/11 c:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000/6/11 15:34
45k 2000/10/22 c:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
"cygjbig1.dll" v0.0 ts=2000/10/23 12:06
119k 2000/10/23 c:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
"cygjpeg6b.dll" v0.0 ts=2000/10/23 13:58
53k 2000/11/07 c:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2000/11/8 8:55
426k 2000/11/07 c:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0
sys=4.0
"cygncurses++5.dll" v0.0 ts=2000/11/8 8:57
299k 2000/11/07 c:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2000/11/8 8:54
34k 2000/11/07 c:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2000/11/8 8:55
162k 2000/10/23 c:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
"cygpng2.dll" v0.0 ts=2000/10/23 13:40
402k 2000/06/11 c:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000/6/11 15:30
5k 2000/06/11 c:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2000/06/11 c:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2000/6/11 15:30
243k 2000/10/23 c:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
"cygtiff3.dll" v0.0 ts=2000/10/23 14:14
639k 2000/06/11 c:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000/6/11 15:34
41k 2000/10/28 c:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
"cygXpm-noX4.dll" v0.0 ts=2000/10/29 7:45
45k 2000/10/28 c:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
"cygXpm-X4.dll" v0.0 ts=2000/10/29 7:47
49k 2000/10/23 c:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2000/10/23 13:22
586k 2000/08/04 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2000/8/4 12:53
Cygwin DLL version info:
dll major: 1001
dll minor: 4
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
api major: 0
api minor: 26
shared data: 3
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
build date: Thu Aug 3 20:53:46 EDT 2000
CVS tag: cygwin-1-1-4
shared id: cygwin1S3
Use -h to see help about each section
--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
"C++ is to programming as sex is to reproduction. Better ways might
technically exist but they're not nearly as much fun." -- Nikolai Irgens
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com