SSH fails - Connection refused
tuukka@maljonen.com
tuukka@maljonen.com
Fri Feb 1 00:24:00 GMT 2002
Hi!
I got this still problems with starting SSHD. I tried with Cygrunsrv but I get
bored to it's errors:
$ sshd -D -d -d
debug1: Seeding random number generator
/etc/sshd_config line 49: Deprecated option CheckMail
debug1: sshd version OpenSSH_2.9.9p2
Could not load host key: /etc/ssh_host_key
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
I use now FireDaemon. SSHD starts but when I tried to use it, it fails:
$ ssh -v -v -v localhost
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 1007 geteuid 1007 anon 1
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: restore_uid
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: connect: Connection refused
debug1: restore_uid
debug1: Trying again...
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: restore_uid
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: connect: Connection refused
debug1: restore_uid
debug1: Trying again...
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: restore_uid
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: connect: Connection refused
debug1: restore_uid
debug1: Trying again...
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: restore_uid
debug1: temporarily_use_uid: 1007/1000 (e=1007)
debug1: connect: Connection refused
debug1: restore_uid
Secure connection to localhost refused.
I have made keys (about 1.000.0000 times) but still fails.
tumaljon@JKNEMUCLI04 /etc
$ ls -la
total 182
drwxrwxrwt 6 Administ None 4096 Feb 1 09:15 .
drwxrwxrwt 10 Administ None 4096 Jan 30 11:43 ..
-rwxrwxrwx 1 Administ None 76980 Oct 1 09:24 Muttrc
drwxrwxrwt 2 Administ None 0 Jan 30 11:42 cron.d
-rwxrwxrwx 1 Administ None 280 Jan 24 11:12 group
-rwxrwxrwx 1 Administ None 1898 Oct 1 09:24 mime.types
-rw-rw-rw- 1 tumaljon Administ 971 Feb 1 09:14 passwd
drwxrwxrwt 2 Administ None 0 Jan 24 11:12 postinstall
-rwxrwxrwx 1 Administ None 26287 Jul 11 2001 primes
-rwxrwxrwx 1 Administ None 420 Jan 24 11:12 profile
drwxrwxrwt 2 Administ None 40960 Jan 30 11:47 setup
-rw-rw-rw- 1 tumaljon Administ 1123 Feb 1 09:15 ssh_config
-rw------- 1 SYSTEM SYSTEM 672 Jan 24 11:47 ssh_host_dsa_key
-rw-r--r-- 1 SYSTEM Administ 610 Jan 24 11:47 ssh_host_dsa_key.pub
-rw------- 1 SYSTEM SYSTEM 535 Jan 24 11:47 ssh_host_key
-rw-r--r-- 1 tumaljon SYSTEM 339 Jan 24 11:47 ssh_host_key.pub
-rw------- 1 SYSTEM SYSTEM 887 Jan 24 11:47 ssh_host_rsa_key
-rw-r--r-- 1 SYSTEM Administ 230 Jan 24 11:47 ssh_host_rsa_key.pub
-rw-rw-rw- 1 tumaljon Administ 1202 Feb 1 09:15 sshd_config
drwxrwxrwt 2 Administ None 0 Jan 24 12:57 ssmtp
-rwxrwxrwx 1 Administ None 12306 Aug 26 05:40 termcap
-rwxrwxrwx 1 Administ None 3956 Jan 22 2001 wgetrc
Is there some problems with permissions? I'm trying to log as tumaljon.
AAAAGGHHRR!!! Please help!
-Tuukka
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list