Re: issue with cygwin sftp installation
From: Michael Surette (msurette_at_laframboise.net)
Date: 11/11/05
- Previous message: colin.rudakiewicz_at_rudaz.co.uk: "SSH Security Compliance"
- In reply to: randall_burns_at_hotmail.com: "Re: issue with cygwin sftp installation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 11 Nov 2005 15:13:56 -0500
randall_burns@hotmail.com wrote:
> I noticed this message from last year that sounds a lot like my
> problem-no indication of a resolution though.
>
> RJB
>
>
> I've got a box that starts it's Cygwin service, or so it seems...
> $ 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
> anyone's interested.
>
> Thanks.
Sounds exactly like my problem, but I have no solution.
I'm running a mix of about 12 stations running XP and 12 running 2000.
The XP machines run copssh (based on cygwin) like a charm. The Windows
2000 all eventually refuse connection exactly as you describe. After a
while cygrunsrv runs the cpu usage way up and I've had to uninstall. My
solution... I'm gradually migrating to XP, as I consider ssh essential.
Mike
- Previous message: colin.rudakiewicz_at_rudaz.co.uk: "SSH Security Compliance"
- In reply to: randall_burns_at_hotmail.com: "Re: issue with cygwin sftp installation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]