<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Changes in SSH-Handling since summit 31.6.1.3 in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/changes-in-ssh-handling-since-summit-31-6-1-3/m-p/80384#M19955</link>
    <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;a few days ago I had updated some test switches (x440-G2) from firmware 31.5.1.6 to 31.6.1.3. This changed the internal ssh handling.&lt;BR /&gt;&lt;CODE&gt;echo "show vlan" | ssh switch&lt;/CODE&gt;&lt;BR /&gt;doesn't work any longer. the switch removes the first 10 characters of the command and returns an error.&lt;BR /&gt;&lt;CODE&gt;'echo "1234567890show vlan" | ssh switch'&lt;/CODE&gt; will execute "show vlan" which seems to be a bug.&lt;BR /&gt;&lt;BR /&gt;I tested the following notation and realized this still worked:&lt;BR /&gt;&lt;CODE&gt;"ssh switch show vlan"&lt;/CODE&gt; &lt;BR /&gt;so i changed my scripts to this notation. Still, I'm wondering if this is intentional.&lt;BR /&gt;&lt;BR /&gt;While debugging this i found another difference: setting the banner with the above method stopped working too:&lt;BR /&gt;&lt;CODE&gt;echo -e "conf banner after-login\nTestbanner\nRow1\nRow2" | ssh switch&lt;/CODE&gt;&lt;BR /&gt;even if i add 10 chars at the beginning it produces an error. Instead of changing the after-login banner, i'll get the error that "Row1" is an unrecoginzed command.&lt;BR /&gt;&lt;BR /&gt;my workaround for that is to create a banner.xsf, write the "conf banner after-login" command and its new multiline value to it and then scp the script to the switch and run it locally with "run script banner.xsf".&lt;BR /&gt;&lt;BR /&gt;So my question is, will this be reverted? Is that a bug or something i can't expect to work like it does with older firmware?&lt;BR /&gt;&lt;BR /&gt;Kind regards</description>
    <pubDate>Mon, 14 Mar 2022 19:41:28 GMT</pubDate>
    <dc:creator>schuert</dc:creator>
    <dc:date>2022-03-14T19:41:28Z</dc:date>
    <item>
      <title>Changes in SSH-Handling since summit 31.6.1.3</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/changes-in-ssh-handling-since-summit-31-6-1-3/m-p/80384#M19955</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;a few days ago I had updated some test switches (x440-G2) from firmware 31.5.1.6 to 31.6.1.3. This changed the internal ssh handling.&lt;BR /&gt;&lt;CODE&gt;echo "show vlan" | ssh switch&lt;/CODE&gt;&lt;BR /&gt;doesn't work any longer. the switch removes the first 10 characters of the command and returns an error.&lt;BR /&gt;&lt;CODE&gt;'echo "1234567890show vlan" | ssh switch'&lt;/CODE&gt; will execute "show vlan" which seems to be a bug.&lt;BR /&gt;&lt;BR /&gt;I tested the following notation and realized this still worked:&lt;BR /&gt;&lt;CODE&gt;"ssh switch show vlan"&lt;/CODE&gt; &lt;BR /&gt;so i changed my scripts to this notation. Still, I'm wondering if this is intentional.&lt;BR /&gt;&lt;BR /&gt;While debugging this i found another difference: setting the banner with the above method stopped working too:&lt;BR /&gt;&lt;CODE&gt;echo -e "conf banner after-login\nTestbanner\nRow1\nRow2" | ssh switch&lt;/CODE&gt;&lt;BR /&gt;even if i add 10 chars at the beginning it produces an error. Instead of changing the after-login banner, i'll get the error that "Row1" is an unrecoginzed command.&lt;BR /&gt;&lt;BR /&gt;my workaround for that is to create a banner.xsf, write the "conf banner after-login" command and its new multiline value to it and then scp the script to the switch and run it locally with "run script banner.xsf".&lt;BR /&gt;&lt;BR /&gt;So my question is, will this be reverted? Is that a bug or something i can't expect to work like it does with older firmware?&lt;BR /&gt;&lt;BR /&gt;Kind regards</description>
      <pubDate>Mon, 14 Mar 2022 19:41:28 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/changes-in-ssh-handling-since-summit-31-6-1-3/m-p/80384#M19955</guid>
      <dc:creator>schuert</dc:creator>
      <dc:date>2022-03-14T19:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Changes in SSH-Handling since summit 31.6.1.3</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/changes-in-ssh-handling-since-summit-31-6-1-3/m-p/80385#M19956</link>
      <description>I'm afraid I don't have a solution, but I'm very curious as to why you run the commands this way. Do you execute the "&lt;CODE&gt;echo "show vlan" | ssh switch&lt;/CODE&gt;" from a Linux/Mac/*nix station or from the switch itself?</description>
      <pubDate>Mon, 21 Mar 2022 15:56:44 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/changes-in-ssh-handling-since-summit-31-6-1-3/m-p/80385#M19956</guid>
      <dc:creator>FredrikB</dc:creator>
      <dc:date>2022-03-21T15:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changes in SSH-Handling since summit 31.6.1.3</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/changes-in-ssh-handling-since-summit-31-6-1-3/m-p/80386#M19957</link>
      <description>I'm using ansible as configuration management tool to configure all my switches. Unfortunately multiline-commands like "conf banner after-login" or creating UPM-Profiles wont work with ansible, so i use the above mentioned method to change these settings via bash.&lt;BR /&gt;&lt;BR /&gt;The problem is the same if i use the shell module in ansible or the bash of my linux system. after the command executed, when i put 10 spaces at the beginning", and the cli comes back i also see some control characters being inputed on the commandline. this never happened before 31.6.1.3 so i guess something changed in the way the firmware handles SSH.&lt;BR /&gt;&lt;BR /&gt;Using the mentioned way is really neat. Want to get the full config of a switch:&lt;BR /&gt;ssh switch show config detail &amp;gt; config-switch.txt&lt;BR /&gt;&lt;BR /&gt;Export a "show tech":&lt;BR /&gt;ssh switch show tech &amp;gt; tech-switch.txt&lt;BR /&gt;&lt;BR /&gt;Thankfully "ssh switch command" still works, the bug only happens when I use "echo command | ssh switch" syntax.</description>
      <pubDate>Mon, 21 Mar 2022 16:45:51 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/changes-in-ssh-handling-since-summit-31-6-1-3/m-p/80386#M19957</guid>
      <dc:creator>schuert</dc:creator>
      <dc:date>2022-03-21T16:45:51Z</dc:date>
    </item>
  </channel>
</rss>

