Re: SSH login to cygwin sshd (6.7p1-1) fails with error seteuid1000: Operation not permitted when ~/.ssh/id_rsa keys available on client

2015-01-05 Thread Ilya Dogolazky
Read the thread "Never ending SSHD story: offering public key terminates connection", you'll find explanation and the solution there. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubsc

Re: [SOLUTION] Never ending SSHD story: offering public key terminates connection

2015-01-03 Thread Ilya Dogolazky
E) Dear CYGWIN developers! Please fix the whole system in such a way that SSHD will be installable and configurable in 5 minutes without any knowledge of windows internals, as it was years ago. Cheers, Ilya Dogolazky -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Never ending SSHD story: offering public key terminates connection

2015-01-03 Thread Ilya Dogolazky
Hi Larry! 01/03/2015 06:44 AM, ext Larry Hall (Cygwin) wrote: > use ssh-user-config The manual key creation doesn't do any harm, because the problem is obviously on the server side. To see this I did all the testing running the client on a remote machine, no difference in symptoms. > Don't u

Re: Never ending SSHD story: offering public key terminates connection

2015-01-02 Thread Ilya Dogolazky
A small follow up about this: I found a registry string Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\sshd\Parameters\AppArgs and changed the sshd command line parameters from "-D" to "-d -d -d" This was enough to receive the server log in /var/log/sshd.log (attached here). The interesting li

Never ending SSHD story: offering public key terminates connection

2014-12-31 Thread Ilya Dogolazky
ither can I start the sshd manually with the '-d' flag, because of some permission error I don't understand. Any help is appreciated! Does anyone use the cygwin SSHD with a key pair nowadays? Happy new year to everyone again. Ilya Dogolazky Copying skeleton files. These f

Re: SSHd configuration problems (System error 1376)

2014-12-30 Thread Ilya Dogolazky
12/29/2014 06:30 PM, ext Ken Brown пишет: If you were really running in an elevated shell, I don't know why 544 didn't show up in the output of "id -G". But that's exactly what's happening with the testing version of cygwin DLL (I wrote a bug report as a new mail thread) -- Problem reports

Possibly wrong Admin group ID in cygwin 1.7.34-003 (x64)

2014-12-30 Thread Ilya Dogolazky
You have to click on the pictures in order to make the text readable. Happy new year to everyone! Ilya Dogolazky -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: SSHd configuration problems (System error 1376)

2014-12-29 Thread Ilya Dogolazky
' failed! :-( By the way, very first message is quite funny: "it seems your account does not have these privileges". According to windows UI my account (the only one on this fresh installed machine) is an administrative one. Cheers, Ilya Dogolazky $ ssh-host-config -y *** Warning:

Re: SSHd configuration problems (System error 1376)

2014-12-29 Thread Ilya Dogolazky
Hi Ken ! 12/23/2014 05:25 PM, ext Ken Brown wrote: I'm using the test release of cygwin in case that's relevant. I would like to try this. How do I install the "test release"? Is it the same as to select "EXP" instead of "CURR" in the top right corner of setup.exe GUI or should I do something

Re: SSHd configuration problems (System error 1376)

2014-12-23 Thread Ilya Dogolazky
Hi Ken ! 12/13/2014 02:30 PM, ext Ken Brown пишет: admingroup=$(/usr/bin/mkgroup -l | /usr/bin/awk -F: '{if ( $2 == "S-1-5-32-544" ) print $1;}') On my system this yields "Administrators". Apparently it yields "root" on your system. Any idea why? I have the same error message as PolarSto

g++ returns 127 and does nothing

2014-12-17 Thread Ilya Dogolazky
13 09:33 /usr/bin/g++ $ g++ -v ; echo $? 127 Any idea what could be wrong, somebody have seen similar symptoms ? Cheers Ilya Dogolazky [1] http://www2.warwick.ac.uk/fac/sci/moac/people/students/peter_cock/cygwin/part2/ -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: windows8 + cygwin + sshd

2012-03-02 Thread Ilya Dogolazky
Hi ! 03/02/2012 07:24 PM, ext Mathew Shember пишет: Hello Ilya, You are correct on the /var/empty. I think it needs to be owned by SYSTEM. Oh, I just executed now: # mv /var/empty /var/empty-orig # mkdir /var empty # chmod 700 /var/empty # chown SYSTEM /var/empty and now sshd is starting fin

windows8 + cygwin + sshd

2012-03-02 Thread Ilya Dogolazky
mean. Any help is very appreciated. And another point about sshd: is it somehow possible to start it "manually", by typing /usr/sbin/sshd? I tried but it seems /var/empty is somehow involved into running sshd and it has wrong ownership+permissions. Cheers, Ilya Dogolazky

Re: slow ssh login on a cygwin machine

2012-02-29 Thread Ilya Dogolazky
Hi ! 02/28/2012 05:50 PM, ext Corinna Vinschen пишет: Oh, and then again... did you install the bash-completion package on the server? It's known to result in such delays sometimes. I never used it myself so I don't know what it's doing. Somebody else might know more here. That would be a

Re: slow ssh login on a cygwin machine

2012-02-28 Thread Ilya Dogolazky
Hi Corinna ! 02/28/2012 04:49 PM, ext Corinna Vinschen пишет: This kind of delay is often a result of the process trying to access some remote filesystem. How can I investigate this (is there something like "lsof" in Windows)? If you're speaking about "process", do you mean the "sshd" proces