Windows XP and OpenSSH problem...

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, hoping someone can help me with a OpenSSH problem. I have managed to
get OpenSSH up and running and can succesfully connect to my Windows XP
Pro machine from any machine I like.

The problem is that everytime I reboot I must start up a command prompt
and stop the service (net stop opensshd) and then restart the
service(net start openssh) otherwise I get an

ssh_exchange_identification: connection closed by remote host

error. I get this even when I attempt to connect to localhost. Is there
any way around this, because it can be annoying if my machine at home is
rebooted when I am away as I can no longer connect.

Thanks Mat.

Re: Windows XP and OpenSSH problem...

Quoted text here. Click to load it

Interesting.  My Win2k computer at work has the same symptoms...
and didn't use to !  I could reboot and the sshd service (Cygwin,
in my case) would restart normally.  Now I have to net stop sshd
and net start it again like you do.

Not sure when the change occurred, maybe two or three months ago.
I'm completely in the dark as to the *cause* of the change.

Quoted text here. Click to load it

No kidding.

Would a batch script work ?  How do you get a script to run
after every reboot ?  How do you say "sleep 180" in Windowsish ?

pa at panix dot com

Site Timeline