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

problems with ssh


Hello,

I am using the latest cygwin modules from the installer.  I have had cygwin
set up and working nicely for some time now, but today i just noticed that
sshd wasn't working anymore.

Originally, I had it set up so that sshd ran under inetd (by uncommenting
the line in inetd.conf).  When it's set up this way, I always get
"Permission Denied" after I enter my password.  I'm pretty sure the user
system is set up correctly, since I can log in using telnet without any
problems.

I tried running sshd as an independant service, however I can't get the
service to start.  I get the following in the log:

--- BEGIN /var/log/sshd.log ---
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.
--- END /var/log/sshd.log ---

I reinstalled cygwin and re-generated the host keys, but it still doesn't
work.  The files DO exist, and have the following permissions:
-rw-------    1 rsiklos  Administ      672 Apr  9 12:36 ssh_host_dsa_key
-rw-------    1 rsiklos  Administ      529 Apr  9 12:35 ssh_host_key
-rw-------    1 rsiklos  Administ      887 Apr  9 12:35 ssh_host_rsa_key

Does anyone have any ideas or advice?

Thanks in advance,

Rob.


--
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/


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