This is the mail archive of the cygwin@sources.redhat.com 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]

sshd connection refused


I have just installed the latest version of cygwin on my NT box. I have run ssh-config. I have edited sshd_config, and changed /usr/local/etc/ssh_host_key to /etc/ssh_host_key

I have tried changing the password with the passwd command. no matter what I do sshd says the connection is closed by the remote host, and ssh says connection refused (it never prompts me for a password)

I have been working on this problem for several days, I am exhausted and stumped. Please help

When I run sshd -d , and ssh on the same box I get:

debug: sshd version 1.2.26 [i586-pc-cygwin32]
debug: Initializing random number generator; seed file /etc/ssh_random_seed
log: Server listening on port 22.
log: Generating 768 bit RSA key.
Generating p:  ..............++ (distance 182)
Generating q:  ............++ (distance 186)
Computing the keys...
Testing the keys...
Key generation complete.
log: RSA key generation complete.
debug: Server will not fork when running in debugging mode.
log: Connection from 192.168.254.117 port 812
debug: Client protocol version 1.5; client software version OpenSSH_2.2.0p1
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: 3des
debug: Received session key; encryption turned on.
debug: Installing crc compensation attack detector.
fatal: Connection closed by remote host.
debug: Calling cleanup 0x410784(0x0)

The command from the other bash session is
ssh -v localhost
SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.

Compiled with SSL (0x0090581f).

debug: Reading configuration data /etc/ssh_config


debug: Applying options for *


debug: Seeding random number generator


debug: ssh_connect: getuid 500 geteuid 500 anon 0


debug: Connecting to localhost [127.0.0.1] port 22.


debug: Seeding random number generator


debug: Allocated local port 786.


debug: Connection established.


debug: Remote protocol version 1.5, remote software version 1.2.26


debug: Local version string SSH-1.5-OpenSSH_2.2.0p1


debug: Waiting for server public key.


debug: Received server public key (768 bits) and host key (1024 bits).


debug: Forcing accepting of host key for loopback/localhost.


debug: Seeding random number generator


debug: Encryption type: 3des


debug: Sent encrypted session key.


debug: Installing crc compensation attack detector.


debug: Received encrypted confirmation.


Permission denied.


debug: Calling cleanup 0x413424(0x0)




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]