**[Quick Solution] for ssh: connect to host 192.168.100.2 port 22: Connection refused and ssh_exchange_identification: read: Connection reset by peer

untitledSo i just faced this, and i immediatelly got it. It’s ARP stuff.
If you are trying to connect to your ssh remote shell and you see this:

MacBook-Pro-di-giuseppe-urso:~ giuseppeurso$ ssh -l giuseppe 192.168.100.67
ssh: connect to host 192.168.100.67 port 22: Connection refused
MacBook-Pro-di-giuseppe-urso:~ giuseppeurso$ ssh -l giuseppe 192.168.100.149
ssh_exchange_identification: read: Connection reset by peer

It means you just changed the ip address (probably from DHCP to Static) of your Debian machine and you are trying to reconnect too quickly, that’s why the prevoius ARP is still “in the air” so, if you have rush you can:
Restart you router/switch
If it is a virtual machine just add a fresh ip address, regenerate the MAC Address and reboot.

Ciao 

Incoming search terms:

  • ** QuickSolution forssh:connecttohost192 168 100 2port22:Connectionrefusedandssh_exchange_identification:read:Connectionresetbypeer|GiuseppeUrsoBlog (48)
  • raspbmc ssh connection refused (22)
  • raspberry pi ssh connection refused (17)
  • ssh_exchange_identification: (13)
  • girlzjv (1)
  • private6qi (1)
  • fulltqi (1)
  • front6j4 (1)
  • stargfp (1)
  • thiskja (1)
(Visited 11,190 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.