How can I ssh to a Windows box?
Thu Mar 12 12:41:00 GMT 2009
Michael Hennebry <email@example.com> wrote:
> On Mon, 9 Mar 2009, Michael Hennebry wrote:
> I've discovered that if I kill the demon,
> I still get timeout from the outside,
> but connection refused locally.
If you can login to ssh locally but not from the outside, perhaps your
Windows' firewall is blocking this.
> I haven't been able to restart the demon:
> /var/empty must be owned by root and not group or world-writeable.
You must give the files the correct ownership and access rights:
In cygwin, issue:
chmod og+w /tmp
chown system:system /var/log/sshd.log /var/empty /etc/ssh_h*
chmod 755 /var/empty
Define the service with the command
cygrunsrv -I sshd -p /usr/sbin/sshd
Start the service by
cygrunsrv -S sshd
Stop the service by
cygrunsrv -E sshd
Hope this helps.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin