SSHD problem in NT

nagy_l@vaxst2.tii.matav.hu nagy_l@vaxst2.tii.matav.hu
Fri Apr 13 04:02:00 GMT 2001


Hi all!

I have a problem with sshd on my NT

Environmennt :
HOMEDRIVE=C:
HOMEPATH=\
Path=C:\WINNT\system32;C:\WINNT;C:\UTIL;C:\PERL\BIN;c:\local\sbin\opensshd;c:\local\bin

C:\etc\passwd :
Administrator::500:513:Descr:/:/winnt/system32/cmd.exe

C:\local\sbin\opensshd\conf\sshd.conf :
Port                    22
ListenAddress           0.0.0.0
Protocol                1
HostKey                 c:/local/sbin/opensshd/conf/sshd_host_key
HostDSAKey              c:/local/sbin/opensshd/conf/sshd_host_dsa_key
PidFile                 c:/local/logs/opensshd/sshd.pid

#AllowUsers              Administrator

PasswordAuthentication  yes
PermitEmptyPasswords    yes

KeepAlive               no
PrintMotd               yes
CheckMail               no


IgnoreRhosts            yes
IgnoreUserKnownHosts    yes
RhostsAuthentication    no
RhostsRSAAuthentication no

sshd -d -f \local\sbin\opensshd\conf\sshd.conf :
debug1: sshd version OpenSSH_2.3.0p1
debug1: Seeding random number generator
debug1: Seeding random number generator
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
debug1: Seeding random number generator
debug1: Seeding random number generator
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 10.3.72.247 port 2359
debug1: Client protocol version 1.5; client software version OpenSSH-1.2.3
debug1: no match: OpenSSH-1.2.3
debug1: Local version string SSH-1.5-OpenSSH_2.3.0p1
debug1: Sent 768 bit public key and 1024 bit host key.
debug1: Encryption type: 3des
debug1: Received session key; encryption turned on.
debug1: Installing crc compensation attack detector.
debug1: Attempting authentication for Administrator.
Failed password for Administrator from 10.3.72.247 port 2359

ssh -v :
SSH Version OpenSSH-1.2.3, protocol version 1.5.
Compiled with SSL.
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for *
debug: ssh_connect: getuid 1000 geteuid 1000 anon 1
debug: Connecting to 10.3.73.156 [10.3.73.156] port 22.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version OpenSSH_2.3.0p1
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host '10.3.73.156' is known and matches the host key.
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Doing password authentication.
Administrator@10.3.73.156's password:
Permission denied, please try again.

If I'm changed the line in sshd.conf from 
#AllowUsers        Administrator
to
AllowUsers        Administrator

then the error message :
...
debug1: Attempting authentication for illegal user Administrator.
Failed password for illegal user Administrator from 10.3.72.247 port 2836

Please help me :what (or where) is the problem in my machine ?

PermitEmptyPAssword is yes, but it isn't work with or without password too.

How to set up a correct passwd,sshd.conf or any files ?

Thanks in advance!

Lajos

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list