Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Subject: Re: ssh: Permission denied To: Cygwin List Message-ID: From: friedrich_lehn AT ch DOT schindler DOT com Date: Thu, 20 Nov 2003 09:02:08 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sorry, my info was too sparse. Here is what I could find: /var/log/sshd.log: no entries on both sides Windows event log: The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: sshd : PID 1884 : Failed password for AdminCCRD from 195.65.184.50 port 26978 ssh2. Strange thing is that the ip address doesn't match with both sides and I thought ssh uses port number 22 exclusively (at least that's what out network guys opened for me). AdminCCRD is a local account on crdw0157, does he try to access the domain server? How would I specify a local account then? AdminCCRD is also the account I configured for the sshd demon when setting up the Windows service. He has local admin rights. Here is the log from the client side: ssh crdw0157 -vvv -l AdminCCRD ... debug1: Next authentication method: keyboard-interactive debug2: userauth_kbdint debug2: we sent a keyboard-interactive packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: userauth_kbdint: disable: no info_req_seen debug2: we did not send a packet, disable method debug3: authmethod_lookup password debug3: remaining preferred: debug3: authmethod_is_enabled password debug1: Next authentication method: password AdminCCRD AT crdw0157's password: debug3: packet_send2: adding 48 (len 62 padlen 18 extra_pad 64) debug2: we sent a password packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive Permission denied, please try again. AdminCCRD AT crdw0157's password: |---------+---------------------------> | | Larry Hall | | | | | | | | | 19.11.2003 19:49| | | Please respond | | | to Cygwin List | | | | |---------+---------------------------> >-----------------------------------------------------------------------------------------------------------------------| | | | To: friedrich_lehn AT ch DOT schindler DOT com, cygwin AT cygwin DOT com | | cc: | | Subject: Re: ssh: Permission denied | >-----------------------------------------------------------------------------------------------------------------------| At 12:02 PM 11/19/2003, friedrich_lehn AT ch DOT schindler DOT com you wrote: >I've installed ssh. >I managed to get passwordless access via RSA. >However, I didn't manage to get access via password authentication. >/etc/passwd seems to be OK, I tried different accounts (local, domain, >admin) for login and for the sshd service log on account - no success. > >TIA for any hints, Friedrich Since password authentication is generally far easier to configure (i.e. you generally get it "for free"), I'm going to have to direct you to with the added comment that you should think about what information might be necessary for someone else to see what your problem might be. This process may even present the solution without the need for the repost. I'd recommend that you scrutinize ssh and sshd debug output (from their respective debug modes) and log files too. Good luck, -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/