This is the mail archive of the cygwin 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]
Other format: [Raw text]

Help needed: first time tried sshd and got stuck not far from the beginning...


Hi, good day.

my systme is vista 32bit
as Admin, I downloaded the sshd packages and installed them
- opened cygwin bash as administrator
- ran ssh-host-config -y and accepted overwriting to /etc/sshd_config and
/etc/inetd.d/sshd-inetd when asked
- ran ssh-user-config -y and used empty passphrase
- checked permissions on both /var/empty and /var/log/sshd.log, both of them
belongs to the sshd owner (syg_server) and only writable to its owner
- enable port 22 in Windows firewall for passing through
- ran net start ssh:
The CYGWIN sshd service is starting.
The CYGWIN sshd service was started successfully.

Everything seems okay at this point... but after that I cannot ssh to my
localhost:
$ ssh localhost -vvv
OpenSSH_5.1p1, OpenSSL 0.9.8i 15 Sep 2008
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/Admin/.ssh/identity type 0
debug3: Not a RSA1 key file /home/Admin/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/Admin/.ssh/id_rsa type 1
debug3: Not a RSA1 key file /home/Admin/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/Admin/.ssh/id_dsa type 2
ssh_exchange_identification: Connection closed by remote host

/var/log/sshd.log is empty and /etc/sshd_config doesn't seem to have
anything out of ordinary.
Can anyone please suggest some helps?
Thanks in advance!


Regards,
Steve

-- 
View this message in context: http://www.nabble.com/Help-needed%3A-first-time-tried-sshd-and-got-stuck-not-far-from-the-beginning...-tp20745168p20745168.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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