Score:0

Unable ssh connect after installing docker

gl flag

I trying to install Docker on my server I was try install on new system via

$ curl -sSL https://get.docker.com | sh
$ sudo usermod -aG docker $(whoami)

I was try this tutorial after adding non-root user

Result is the same: after logout i can’t ssh connect to server and get kex_exchange_identification: read: Connection reset by peer

ssh -Tv gives:

OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020
debug1: Reading configuration data /home/mithra/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to MY.SER.VER.IP [MY.SER.VER.IP] port 22.
debug1: Connection established.
debug1: identity file /home/mithra/.ssh/id_rsa type 0
debug1: identity file /home/mithra/.ssh/id_rsa-cert type -1
debug1: identity file /home/mithra/.ssh/id_dsa type -1
debug1: identity file /home/mithra/.ssh/id_dsa-cert type -1
debug1: identity file /home/mithra/.ssh/id_ecdsa type -1
debug1: identity file /home/mithra/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/mithra/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/mithra/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/mithra/.ssh/id_ed25519 type 3
debug1: identity file /home/mithra/.ssh/id_ed25519-cert type -1
debug1: identity file /home/mithra/.ssh/id_ed25519_sk type -1
debug1: identity file /home/mithra/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/mithra/.ssh/id_xmss type -1
debug1: identity file /home/mithra/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.5
kex_exchange_identification: read: Connection reset by peer

how to fix it?

paladin avatar
id flag
You need to read the ssh-log of your server.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.