ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ssh_exchange_identification: Connection closed by remote host

    IT Discussion
    linux ssh openssh
    4
    11
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Is anyone familiar with this error? Logging into a Linux machine remotely over SSH and this is the error that I get...

      ssh_exchange_identification: Connection closed by remote host
      
      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        Going to take a look at: /etc/hosts.deny and /etc/hosts.allow

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          Turned out to be an easy one, someone was using a non-standard port.

          dafyreD 1 Reply Last reply Reply Quote 2
          • stacksofplatesS
            stacksofplates
            last edited by stacksofplates

            I think I've seen before but a different scenario.

            1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre @scottalanmiller
              last edited by

              @scottalanmiller said in ssh_exchange_identification: Connection closed by remote host:

              Turned out to be an easy one, someone was using a non-standard port.

              If they were using a non-standard port, how were you able to get connected far enough to get that error message?

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                Because of a reverse SSH tunnel in place.

                DashrenderD 1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @scottalanmiller
                  last edited by

                  @scottalanmiller said in ssh_exchange_identification: Connection closed by remote host:

                  Because of a reverse SSH tunnel in place.

                  Can you explain that more?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Dashrender
                    last edited by

                    @Dashrender said in ssh_exchange_identification: Connection closed by remote host:

                    @scottalanmiller said in ssh_exchange_identification: Connection closed by remote host:

                    Because of a reverse SSH tunnel in place.

                    Can you explain that more?

                    http://mangolassi.it/topic/4890/using-ssh-to-create-a-reverse-tunnel-to-access-linux-through-nat/

                    1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates
                      last edited by

                      I use forward tunnels all the time through my jump box

                      1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates
                        last edited by

                        Also a good way to use a web management interface without opening up http and https.

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @stacksofplates
                          last edited by

                          @johnhooks said in ssh_exchange_identification: Connection closed by remote host:

                          Also a good way to use a web management interface without opening up http and https.

                          I do that a bit.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post