Professional Documents
Culture Documents
the service isn't running properly. that's why you can't connect. look in
/var/log/sshd.log to
see what error messages may be there. next, use windows task manager to kill the
cygrunsrv
process and the sshd process. use this command to verify that the process is
stopped:
cygrunsrv -q sshd
cygrunsrv -s sshd
if you get that windows error message again look in /var/log/sshd.log to see if
new error
messages have been entered. that should give you a clue as to what might be
wrong. i've
had entries like this before:
make sure the permissions and ownership of the files in question are these:
if system doesn't own the files and if the permissions are too open, sshd won't
startup.
another directory that must have correct ownership and permissions is /var/empty.
it should
look like this:
the important thing i've encountered in my struggles with this is to start fresh.
make sure the
cygrunsrv and sshd processes are really killed by using the windows task manager.
verify that
with "cygrunsrv -q sshd" and make sure it says the process is stopped. then start
it up with
"cygrunsrv -s sshd". check /var/log/sshd.log to see any error messages.
good luck!
john
to: cygwin@cygwin.com
from: giuseppe <atirairam18@libero.it>
subject: re: sshd problems
date sent: tue, 5 apr 2005 08:29:04 +0000 (utc)
> after you ran the ssh-host-config script, did you start the service with:
>
> cygrunsrv -s sshd
>
> if not, the service isn't running yet and you won't be able to connect.
$ cygrunsrv -s sshd
cygrunsrv: error starting a service: queryservicestatus: win32 error 1053
$ cygrunsrv -s sshd
cygrunsrv: error stopping a service: queryservicestatus: win32 error 1053
if i try to start again the error number changes from 1053 to 1062
$ cygrunsrv -s sshd
cygrunsrv: error starting a service: queryservicestatus: win32 error 1062
i remind that i installed the last( 1 week ago) version of cygwin on a machine
running windows xp professional with service pack 2. i simply installed cygwin
with the setup utility and confidurate ssh using ssh-host-config answering
always yes. nothing else has been done.
regards
giuseppe
--
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/
_______________________________________________________
john r larsen <theclaw56@larsen-family.us>
http://larsen-family.us
--
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/