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]

Re: problems with ssh


That did the trick - thanks a million.

Rob.

----- Original Message -----
From: "Vince Hoffman" <vince dot hoffman at uk dot circle dot com>
To: "Rob Siklos" <rob2 at siklos dot ca>; <cygwin at cygwin dot com>
Sent: Wednesday, April 09, 2003 1:10 PM
Subject: Re: problems with ssh


> hmm which user is the service running as ? if it is running as SYSTEM (the
> default) then "chmod system /etc/ssh*" and see if that helps.
> ----- Original Message -----
> From: "Rob Siklos" <rob2 at siklos dot ca>
> To: <cygwin at cygwin dot com>
> Sent: Wednesday, April 09, 2003 6:05 PM
> Subject: 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/
> >
>
>


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