delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.2 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FSL_FREEMAIL_1,FSL_FREEMAIL_2,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_MK,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <1339177992.8612.YahooMailNeo@web161201.mail.bf1.yahoo.com> |
Date: | Fri, 8 Jun 2012 10:53:12 -0700 (PDT) |
From: | Dom Pazzula <dompazz AT yahoo DOT com> |
Reply-To: | Dom Pazzula <dompazz AT yahoo DOT com> |
Subject: | ssh - Connection to localhost closed by remote host. |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
MIME-Version: | 1.0 |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q58HrXXB015773 |
I’m having trouble logging into the ssh service I just set up. I’ve searched for possible answers but nothing seems to work. I’ve: 1) Followed the instructions on setting things up (to the best of my knowledge I did everything as instructed -- always possible I did not). 2) made sure my passwd and group files are correct with mkpasswd and mkgroup I'm operating on a domain so I used $ mkpasswd -cl -d RA > /etc/passwd And $ mkgroup -l -d RA > /etc/group $ cat /etc/passwd | grep pazzula pazzula:unused:11596:10513:Dominic Pazzula,U-RA\pazzula,S-1-5-21-1107723029-2547263065-1717318439-1596:/home/pazzula:/bin/bash $ cat /etc/group | grep Users Users:S-1-5-32-545:545: When attempting to ssh to localhost: $ ssh -v localhost OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to localhost [::1] port 22. debug1: Connection established. debug1: identity file /home/pazzula/.ssh/id_rsa type -1 debug1: identity file /home/pazzula/.ssh/id_rsa-cert type -1 debug1: identity file /home/pazzula/.ssh/id_dsa type -1 debug1: identity file /home/pazzula/.ssh/id_dsa-cert type -1 debug1: identity file /home/pazzula/.ssh/id_ecdsa type -1 debug1: identity file /home/pazzula/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0 debug1: match: OpenSSH_6.0 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.0 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA 8a:6f:72:53:51:86:b2:84:9d:c5:6b:2f:c7:7f:98:1a debug1: Host 'localhost' is known and matches the ECDSA host key. debug1: Found key in /home/pazzula/.ssh/known_hosts:1 debug1: ssh_ecdsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/pazzula/.ssh/id_rsa debug1: Trying private key: /home/pazzula/.ssh/id_dsa debug1: Trying private key: /home/pazzula/.ssh/id_ecdsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password pazzula AT localhost's password: debug1: Authentication succeeded (password). Authenticated to localhost ([::1]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions AT openssh DOT com debug1: Entering interactive session. debug1: channel 0: free: client-session, nchannels 1 Connection to localhost closed by remote host. Connection to localhost closed. Transferred: sent 2136, received 1504 bytes, in 0.0 seconds Bytes per second: sent 136923.3, received 96410.4 debug1: Exit status -1 So it looks like I authenticate OK but get kicked off after. Again, I've searched but cannot find what I need to do to fix this. Any help would be appreciated. Thanks Dominic -- 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 |