Re: setting up sshd on windows 7

2013-08-23 Thread Anatoly Yakovenko
So i ran sshd by hand, which gave me an obnoxious error about /var/empty not being owned by root. turns out it just needs to be owned by the user running sshd. after i was able to run it by hand with -d, i saw an error that /bin/bash is not executable for my user. I was able to fix this by

Re: setting up sshd on windows 7

2013-08-23 Thread Greg Swallow
I changed the LogLevel to DEBUG in /etc/sshd_config, and I was able to see helpful information in the event log after restarting the ssh service. Also, CopSSH, which uses Cygwin, sets some parameters for stderr and stdout that I forget, in the ssh service key in the registry. I've since deleted

Re: setting up sshd on windows 7

2013-08-23 Thread Larry Hall (Cygwin)
On 8/23/2013 11:42 AM, Anatoly Yakovenko wrote: So i ran sshd by hand, which gave me an obnoxious error about /var/empty not being owned by root. turns out it just needs to be owned by the user running sshd. after i was able to run it by hand with -d, i saw an error that /bin/bash is not

Re: setting up sshd on windows 7

2013-08-23 Thread Anatoly Yakovenko
Because 'sshd' is finicky about permissions, doing this may well have removed your ability to run 'sshd' as a service under the default service user 'cyg_server'. With that would also come the loss of the ability to login with public key authentication. If any of this is important to you, you

setting up sshd on windows 7

2013-08-21 Thread anatoly yakovenko
I can't seem to login in with a password or with a key. /var/log/sshd.log doesn't show any errors and i dont see anything in the event viewer. i set the log level to VERBOSE in sshd_config, but nothing is shown in either. When i had incorrect permissions in /var/empty, i got errors in the