Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 16, 2004, 2:44 pm
rate this thread
$ cygrunsrv -Q sshd
Service sshd exists
Type : Own Process
Current State : Running
Controls Accepted : Accept Stop
...but isn't actually listening/accepting connections...
$ netstat -a | grep ssh
$ ssh localhost
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
I've reinstalled Cygwin a few times, and the sshd service, but no joy.
It's obviously stuck on something (I'm guessing file permissions) but
I'm not sure what?
The "cygrunsrv -E sshd" command won't stop the service either?! To get
the service to stop, I have to do this, for example...
$ tasklist /svc | grep sshd
cygrunsrv.exe 3944 sshd
sshd.exe 3908 N/A
$ taskkill /F /PID 3944
SUCCESS: The process with PID 3944 has been terminated.
$ taskkill /F /PID 3908
SUCCESS: The process with PID 3908 has been terminated.
Does this ring any bells with anyone? I'll post more details if
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum