K
K
Konstantin Chuykov2015-09-21 14:34:47
SSH
Konstantin Chuykov, 2015-09-21 14:34:47

Why can't I ssh into aws ec2?

Good days. Please tell me what is the problem?


MacBook-Air:next konstantin$ ssh -i "rollexpress.pem" [email protected]+++.***.102 -v
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug1: Connecting to 54.+++.***.102 [54.+++.** *.102] port 22.
debug1: Connection established.
debug1: identity file rollexpress.pem type -1
debug1: identity file rollexpress.pem-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr [email protected] none
debug1: kex: client ->server aes128-ctr [email protected] none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
Read from socket failed: Connection reset by peer

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Max, 2015-09-21
@MaxDukov

recipe below

P
Puma Thailand, 2015-09-21
@opium

Apparently closed in the security group or on the server itself port 22

K
Konstantin Chuykov, 2015-09-23
@chuikoffru

I just updated the openSsh version via homebrew and rebooted the laptop. Everything worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question