Subject: SShd problem.
From: [email-masked]

29 May 1998 12:45:05 -0700
Message-ID: <[email-masked]>
To: [email-masked]

Hi!

I have some problem with the sshd.

/etc/sshd_conf :
# This is ssh server systemwide configuration file.

Port 22
ListenAddress 0.0.0.0
HostKey /etc/ssh_host_key
RandomSeed /etc/ssh_random_seed
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
....etc...

bash-2.01$ ls -l /etc
total 7
-rw-r--r--   1 544      None           24 Mar 24 20:05 group
-rw-r--r--   1 544      None           91 May 14 09:47 passwd
-rw-r--r--   1 544      None          880 Apr  2 11:15 ssh_config
-rw-r--r--   1 544      None          543 May 29 10:29 ssh_host_key
-rw-r--r--   1 544      None          347 May 29 10:29 ssh_host_key.pub
-rw-r--r--   1 544      None          512 May 29 10:30 ssh_random_seed
-rw-r--r--   1 544      None          668 May 29 10:34 sshd_config

And when I'm run the ssh from other machine :
$ ssh -v -v -l nagyl 145.236.50.175
SSH Version 1.2.22 [i486-unknown-linux], protocol version 1.5.
Standard version.  Does not use RSAREF.
SSH Version 1.2.22 [i486-unknown-linux], protocol version 1.5.
Standard version.  Does not use RSAREF.
bunuel: Reading configuration data /etc/ssh/ssh_config
bunuel: ssh_connect: getuid 1007 geteuid 0 anon 0
bunuel: Connecting to 145.236.50.175 port 22.
bunuel: Allocated local port 1019.
bunuel: Connection established.
Connection closed by foreign host.
$

In the Event log (Application level) :
The description for Event ID ( 0 ) in Source ( sshd ) could not be found. It
contains the following insertion string(s): sshd : Win32 Process Id = 0x8F :
CygWin32 Process Id = 0x40E : error: fatal: Could not load host key:
/etc/ssh_host_key2.  Check path and permissions..

/usr/local/etc/inetd.conf :
....
sshd    stream  tcp     nowait  root    /usr/local/sbin/sshd sshd -i

Why couldn't read the key file ?
Any idea ?

Thanks in advance!

Bye!Lajos
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".