Re: SSHD under SYSTEM account: r e s o l v e d :-)
Mark schrieb: > I've been working on a script to help make this easier, but I've been > stalled. This problem keeps coming up again and again. We need > something that diagnoses the problem better (incrementally finding each > problem, for example, the file and directory permissions). ssh provides > little or no help in diagnosing the problem when it won't connect. This is true. There was one hint that was really golden: if you are in a domain and want to connect just over LAN another box in the same domain, the passwd and group files should be exact indentical since it is the same domain. So at first make sure that the passwd files are identical. Then look that the permissions are correct all over, /home/you and /etc directory. At last one point which needs to be investigated, if I'm in the passwd file as gerrit with uid 11002 and gid 10512 is it needed that the files in the /home/gerrit directory and subdirectories are owned be me and my group? I changed the ownership but I think at first it was a mess with my passwd and group files. OpenSSH setup just uses your current settings, so if the passwd & group files are wrong, the ownership of the files will be wrong. Ah, and I'm sitting on a PDC and in a domain so I'm using only mkpasswd -d and mkgroup -d now since we have no local users besides the default. Many Thanks again for all the help, Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: SSHD under SYSTEM account: r e s o l v e d :-)
Corinna schrieb: >> I will try to find a solution some more days and if there is a way to >> use PublicKey Auth with RSA SSH1 and DSA SSH2 enabled and >> PasswordAuthentication no >> I will find it;) > Am I wrong or didn't you read my message, answering to your problems: > http://cygwin.com/ml/cygwin/2002-05/msg00836.html No, I didn't saw this. Hmmm. Would you please include my private email in the CC field...? No, just kidding, I'm sorry, I didn't saw it. It is still a mystery to me. At the Linux box there is the config: Protocol 1,2 and I can connect using my DSA key without specifying -2 at the commandline. My ssh_config contains nothing. It just works. And now after trying to fix all the involved passwd and group files and all the ownerships of all files in my home dirs here and there it works well;) Just one caveat, it seems PuTTY thinks that I have another GID as I have in the Cygwin realm so connecting with PuTTY to the Cygwin box still doesn't work. Well, I will try to change the NTGroups so that my first group in the list is the same as in Cygwin and then I guess it will work too. Many, many thanks to all of you to help me with this (my own handmade) problem. Just for all others, fix your group and passwd files, fix it again and just one more time. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/