| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; q=dns; s=default; b=KY | |
| 6nR+ks1KRertmvXC3gyjympPbnI1ps6HucIsRdPzT0vdPYn5SDHIgitkhoVHqD2+ | |
| 8tL59U1xbnxCYKWojzHGDNLqEM3mjJumzndu0Bn6KqzPuJ2AS26+rAsSRY0rlatv | |
| W3xiii506Ol4IOlFbstP0h8Hqsba6BTzl7kdUarGs= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; s=default; bh=0B1Q31yu | |
| iD+n1R1qxHqUvw8w/aI=; b=fKh9Bv673L4PjD3AZxJCr/Uy1h7DyODNbBIcAOJ+ | |
| 6kb4HL/mEEhGaGOxJCQlA4VRKSncgN8QYT7HoubMXOOgYtkg6Et3BJkOl+kPBDXQ | |
| lyjjFDogEQFZNWLj+j8HWlvm2rirR1ax7xzeEjkU54lqYDbezG+QmkpaZRlyvlFD | |
| bZQ= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=2.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 |
| X-HELO: | mail-pb0-f48.google.com |
| MIME-Version: | 1.0 |
| X-Received: | by 10.68.189.101 with SMTP id gh5mr35603553pbc.39.1384266722652; Tue, 12 Nov 2013 06:32:02 -0800 (PST) |
| In-Reply-To: | <1384213686304-104251.post@n5.nabble.com> |
| References: | <4FCF00EB DOT 2070600 AT gmail DOT com> <loom DOT 20120607T103956-836 AT post DOT gmane DOT org> <4FD07C1D DOT 5070909 AT gmail DOT com> <loom DOT 20130807T185544-35 AT post DOT gmane DOT org> <52028508 DOT 7000102 AT cygwin DOT com> <loom DOT 20131025T023724-855 AT post DOT gmane DOT org> <5269D1AA DOT 5010306 AT cygwin DOT com> <1384213686304-104251 DOT post AT n5 DOT nabble DOT com> |
| Date: | Tue, 12 Nov 2013 09:32:02 -0500 |
| Message-ID: | <CA+7PDU1gi99e2BQX55zAVpWpChSzi_BfRxsdXF6ESK-9yLxmfg@mail.gmail.com> |
| Subject: | Re: ssh logon failure |
| From: | George Demmy <gdemmy AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
On Mon, Nov 11, 2013 at 6:48 PM, greenspan wrote: > Larry, thanks for your reply. I am using windows 7. I've tried changing > ownership of /var/empty to cyg_server, but this doesn't help. > > FYI my "Fix" only worked for a day before failing again. Now I'm back to > square one. FWIW I was struggling with setting up ssh on a heterogeneous set of boxes and all the while I was thinking I had sshd messed up but I think turned out that the uids on the files in .ssh were inconsistent. A recursive chown on the .ssh dir and locking the dir/file perms down to 700/600 solved a heap of problems for me. The one sshd thing that bit me was DNS, but I set UseDNS no in /etc/sshd_config and cleared that up as well. One of the mantras that it helps to repeat is that "ssh on Cygwin works" so it's a matter of making sure yourenvironment is right: - valid uid/USERNAME/HOME in /etc/passwd - .ssh is in $HOME and chown $USERNAME and chmod 700 - all files in .ssh are chown $USERNAME and chmod 600 (not strictly necessary, but removes doubt) - public keys from foreign boxes stashed away properly in .ssh/authorized_keys HTH, George -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |