www.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:date:from:reply-to:to:message-id:subject | |
:mime-version:content-type:content-transfer-encoding; q=dns; s= | |
default; b=ZC0S2msHj9XHQ7CM/CEtxoSxdd4n0Ac0iDy4v9O8ZlUPScE0cSA6e | |
xUBopRzysgolmPU04JPSNb/OMTCuMm651jW2ZTMSd1vr/E1doHZfjjYPY65tCvfG | |
LOI3cTPfH/MLB2c97sN+5rJL4drLJCFPrqwzAFQqH25/+LAFP7uJW4= | |
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:date:from:reply-to:to:message-id:subject | |
:mime-version:content-type:content-transfer-encoding; s=default; | |
bh=ZleWLgcp5vPwKxhwMtE4bcOGX4Y=; b=GWllfkw/YjfMsw9gQWKupNcD1EHr | |
l45vwex6sRSrD5xOH4IxXYKQ0wiJz/rEJTGYg9VVwFAjmO81uUuZXMRsoAhGZx2a | |
RrZZ4cIt1bd+R1cFzqjj7WhWhiS0Lb/m/SncPv5JHKtTWSs7wic/BKi535Cq/XtY | |
NsHr+qzMHzgJrOU= | |
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=3.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 |
X-HELO: | nm40-vm1.bullet.mail.ir2.yahoo.com |
Date: | Sun, 7 Jun 2015 01:15:13 +0000 (UTC) |
From: | Marilo <narium85-mlscar AT yahoo DOT co DOT uk> |
Reply-To: | Marilo <narium85-mlscar AT yahoo DOT co DOT uk> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Message-ID: | <1472212892.10172358.1433639713084.JavaMail.yahoo@mail.yahoo.com> |
Subject: | I can't connect to ssh |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
harvey AT samsung350 ~ $ nc 127.0.0.1 22 SSH-2.0-OpenSSH_6.6.1 harvey AT samsung350 ~ $ ssh 127.0.0.1 Connection closed by 127.0.0.1 I have no authorized_keys file which is fine. I am allowing PasswordAuthentication and also PubKeyAuthentication on the server. My password is not empty. It is not prompting me for any password. It just straight away says "connection closed by 127.0.0.1" I don't have any other computers on the network that I can try from at the moment. $ ssh harvey AT 127 DOT 0 DOT 0 DOT 1 -v OpenSSH_6.6.1, OpenSSL 1.0.1i 6 Aug 2014 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/harvey/.ssh/id_rsa type 1 debug1: identity file /home/harvey/.ssh/id_rsa-cert type -1 debug1: identity file /home/harvey/.ssh/id_dsa type -1 debug1: identity file /home/harvey/.ssh/id_dsa-cert type -1 debug1: identity file /home/harvey/.ssh/id_ecdsa type -1 debug1: identity file /home/harvey/.ssh/id_ecdsa-cert type -1 debug1: identity file /home/harvey/.ssh/id_ed25519 type -1 debug1: identity file /home/harvey/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.6.1 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1 debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5-etm AT openssh DOT com none debug1: kex: client->server aes128-ctr hmac-md5-etm AT openssh DOT com none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA 90:24:59:xx:31:xx:e2:6d:35:xx:de:d9:87:4d:xx:e7 debug1: Host '127.0.0.1' is known and matches the ECDSA host key. debug1: Found key in /home/harvey/.ssh/known_hosts:5 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: Offering RSA public key: /home/harvey/.ssh/id_rsa Connection closed by 127.0.0.1 harvey AT samsung350 ~ $ harvey AT samsung350 ~ $ cat /etc/sshd_config | grep PasswordAuthen #PasswordAuthentication yes # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication, then enable this but set PasswordAuthentication harvey AT samsung350 ~ $ cat /etc/sshd_config | grep PubkeyAuth #PubkeyAuthentication yes harvey AT samsung350 ~ $ -- 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 |