unable to change MTU for ssh_exchange_identification: Connection closed by remote...

Making an example from 'Clean Code' more functional

Weight functions in graph algorithms

Host telling me to cancel my booking in exchange for a discount?

What would be the effects of (relatively) widespread precognition on the stock market?

Do you need to have the original move to take a "Replaces:" move?

Why didn't Balak request Bilam to bless his own people?

Remove side menu(right side) from finder

Do I care if the housing market has gone up or down, if I'm moving from one house to another?

Do pedestrians imitate automotive traffic?

Animating the result of numerical integration

How accurate is the Fear the Walking Dead's depiction of a nuclear meltdown?

Redirection operator, standard input and command parameters

What is the minimum wait before I may I re-enter the USA after a 90 day visit on the Visa B-2 Program?

Discretisation of region intersection in 3D

Will a ThunderBolt 3 (USB-C?) to ThunderBolt 2 cable allow me to use a MacBook Pro as second monitor?

Why does airflow separate from the wing during stall?

Can a creature sustain itself by eating its own severed body parts?

Do gauntlets count as armor?

A Real World Example for Divide and Conquer Method

Three phase systems - are there any single phase devices that are connected between two phases instead of between one phase and neutral?

Applying for jobs when I have an obvious scar

Time war story - soldier name lengthens as he travels further from the battle front

Linearize or approximate a square root constraint

I want light controlled by one switch, not two



unable to change MTU for ssh_exchange_identification: Connection closed by remote host


ssh_exchange_identification: Connection closed by remote hostssh_exchange_identification: Connection closed by remote host on vnx machine (linux)ssh_exchange_identification: Connection closed by remote host (not using hosts.deny)Intermittent 'ssh_exchange_identification: Connection closed by remote host' errorSporadic connection errors ssh_exchange_identification: Connection closed by remote hostProblem with SSH connection: ssh_exchange_identification: Connection closed by remote hostssh_exchange_identification: Connection closed by remotessh_exchange_identification: Connection closed by remote host + HP ProcurveWhat does this mean? ssh_exchange_identification: Connection closed by remote hostSSID of hostapd is not visible






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















When I try to login to remote server by ssh, it stucks at expecting SSH2_MSG_KEX_ECDH_REPLY and then exists




ssh_exchange_identification: Connection closed by remote host




But I can login using putty.



From google, I found the reason is likely to be excessive MTU.



However, I cannot change MTU following the guide by ifconfig wifi0 mtu 1200.



$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 1500
...
wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
...
$ sudo ifconfig wifi0 mtu 1200
$ ifconfig
<same output as before>


Also, there is no file like /etc/sysconfig/network-scripts/ifcfg-xxxx.



I also tried to add mtu 1200 to /etc/network/interfaces or /etc/ppp/options. It doesn't work.










share|improve this question































    0















    When I try to login to remote server by ssh, it stucks at expecting SSH2_MSG_KEX_ECDH_REPLY and then exists




    ssh_exchange_identification: Connection closed by remote host




    But I can login using putty.



    From google, I found the reason is likely to be excessive MTU.



    However, I cannot change MTU following the guide by ifconfig wifi0 mtu 1200.



    $ ifconfig
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 1500
    ...
    wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    ...
    $ sudo ifconfig wifi0 mtu 1200
    $ ifconfig
    <same output as before>


    Also, there is no file like /etc/sysconfig/network-scripts/ifcfg-xxxx.



    I also tried to add mtu 1200 to /etc/network/interfaces or /etc/ppp/options. It doesn't work.










    share|improve this question



























      0












      0








      0








      When I try to login to remote server by ssh, it stucks at expecting SSH2_MSG_KEX_ECDH_REPLY and then exists




      ssh_exchange_identification: Connection closed by remote host




      But I can login using putty.



      From google, I found the reason is likely to be excessive MTU.



      However, I cannot change MTU following the guide by ifconfig wifi0 mtu 1200.



      $ ifconfig
      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 1500
      ...
      wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      ...
      $ sudo ifconfig wifi0 mtu 1200
      $ ifconfig
      <same output as before>


      Also, there is no file like /etc/sysconfig/network-scripts/ifcfg-xxxx.



      I also tried to add mtu 1200 to /etc/network/interfaces or /etc/ppp/options. It doesn't work.










      share|improve this question
















      When I try to login to remote server by ssh, it stucks at expecting SSH2_MSG_KEX_ECDH_REPLY and then exists




      ssh_exchange_identification: Connection closed by remote host




      But I can login using putty.



      From google, I found the reason is likely to be excessive MTU.



      However, I cannot change MTU following the guide by ifconfig wifi0 mtu 1200.



      $ ifconfig
      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 1500
      ...
      wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      ...
      $ sudo ifconfig wifi0 mtu 1200
      $ ifconfig
      <same output as before>


      Also, there is no file like /etc/sysconfig/network-scripts/ifcfg-xxxx.



      I also tried to add mtu 1200 to /etc/network/interfaces or /etc/ppp/options. It doesn't work.







      linux ubuntu ssh networking login






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 43 mins ago







      Lee

















      asked 1 hour ago









      LeeLee

      9263 gold badges10 silver badges21 bronze badges




      9263 gold badges10 silver badges21 bronze badges






















          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f531360%2funable-to-change-mtu-for-ssh-exchange-identification-connection-closed-by-remot%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f531360%2funable-to-change-mtu-for-ssh-exchange-identification-connection-closed-by-remot%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...