delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/14/12:01:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_05,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: John Ward <ingops AT gmail DOT com>
Subject: Re: adding an ID with ssh password authentication broken passwordless authentication
Date: Fri, 14 Sep 2012 16:00:41 +0000 (UTC)
Lines: 25
Message-ID: <loom.20120914T174143-946@post.gmane.org>
References: <loom DOT 20120914T143226-846 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

John Ward <ingops <at> gmail.com> writes:

I finally figured it out.  It actually was a problem with a domain account that
I broke when I ran "mkpasswd -l > /etc/passwd" to make sure the new local
account existed in the passwd file (obviously removing the Domain account in the
process).

So I identified the issue improperly.  I just need to read a lot more about
Cygwin and take some tutorials or something.

As soon as I put back the domain account information back into the passwd file
by running "mkpasswd -d MyDomain -u MyID >> /etc/passwd", then I was able to
successfully SSH from another machine (It asked for the password, and it
worked).  I then was able to successfully SFTP to the 2003 server from another
server (setup with the keys).

I guess I need to learn how to properly ssh in from another machine using the
passwordless login.

Can anyone recommend a "cygwin for dummies" site, or a list of great resources
to learn more?

Thanks

John Ward 


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019