<?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 RE: Connection problems with plink (putty for commandline) to EOS devices in ExtremeSwitching (EOS)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60112#M1868</link>
    <description>Hi Stephan,&lt;BR /&gt;
&lt;BR /&gt;
you can use the following workaround:&lt;BR /&gt;
echo show system | plink.exe &lt;I&gt;IP&lt;/I&gt; -l &lt;I&gt;USER&lt;/I&gt; -pw &lt;I&gt;PASSWORD&lt;/I&gt;  (even on Windows)&lt;BR /&gt;
&lt;BR /&gt;
Erik</description>
    <pubDate>Fri, 28 Oct 2016 16:30:00 GMT</pubDate>
    <dc:creator>Erik_Auerswald</dc:creator>
    <dc:date>2016-10-28T16:30:00Z</dc:date>
    <item>
      <title>Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60106#M1862</link>
      <description>Hello all, &lt;BR /&gt;
I want to connect to EOS devices with plink (the command line version of putty).&lt;BR /&gt;
I need plink because I will use the communicaton in scripts on my PC.&lt;BR /&gt;
&lt;BR /&gt;
With XOS all works fine. For example I use this command:&lt;BR /&gt;
&lt;BR /&gt;
"plink ip –l user –pw passwort show switch" =&amp;gt; I receive the expected result&lt;BR /&gt;
&lt;BR /&gt;
On EOS I use:&lt;BR /&gt;
&lt;BR /&gt;
"plink ip –l user –pw passwort show system" =&amp;gt; I receive  Error: „FATAL ERROR: Server sent disconnect message.&lt;BR /&gt;
&lt;BR /&gt;
Same behaviour if I use a config-file with the CLI-commands (like show system) instead of the CLI-command in the plink command line.&lt;BR /&gt;
&lt;BR /&gt;
If I use the command:&lt;BR /&gt;
&lt;BR /&gt;
"plink ip –l user –pw passwort" (without a CLI command) I receive no error but an oben CLI-session and can manualy set command on the open CLI-session.&lt;BR /&gt;
&lt;BR /&gt;
Now the quesion. Does anybody know how I can connect to EOS via plink?&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 01:15:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60106#M1862</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2016-10-21T01:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60107#M1863</link>
      <description>I have not used PLINK so I have no specific advice there.  Hopefully somebody in the community has.  &lt;BR /&gt;
That said it may be helpful to turn up logging on the EOS device and see if you get an error that may steer you in the right direction.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 01:38:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60107#M1863</guid>
      <dc:creator>Daniel_Coughlin</dc:creator>
      <dc:date>2016-10-21T01:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60108#M1864</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I did some quick testing with this and was able to replicate the behaviors you describe.  My suspicion is because EOS is not a linux based operating system the method plink is using to send the commands in may not be supported.  If you have a need for plink to work I would suggest logging a case with the GTAC for further investigation into this.&lt;BR /&gt;
&lt;BR /&gt;
-Alex</description>
      <pubDate>Fri, 21 Oct 2016 05:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60108#M1864</guid>
      <dc:creator>Alex24</dc:creator>
      <dc:date>2016-10-21T05:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60109#M1865</link>
      <description>Hello Daniel, hello Alex,&lt;BR /&gt;
&lt;BR /&gt;
thank you for your fast respone.&lt;BR /&gt;
I will create a GTAC case.&lt;BR /&gt;
&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:06:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60109#M1865</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2016-10-21T17:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60110#M1866</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have tested this connecting to a D2 as EOS device with openssh on GNU/Linux, seeing the following results:&lt;BR /&gt;
&lt;OL&gt; 
&lt;LI&gt;Interactive login works fine, 
&lt;/LI&gt;&lt;LI&gt;Specifying a command with the SSH invocation does &lt;B&gt;not&lt;/B&gt; work, 
&lt;/LI&gt;&lt;LI&gt;Providing a command to SSH via STDIN does work.&lt;/LI&gt;&lt;/OL&gt;This seems to be similar to the problem reported by SH.&lt;BR /&gt;
&lt;BR /&gt;
The test switch does not have a password configured, its IP address is 10.0.0.11.&lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;Output for case 2:&lt;/U&gt;&lt;BR /&gt;
$ ssh admin@10.0.0.11 "show version"  Received disconnect from 10.0.0.11: 2: Packet integrity error.  $ ssh admin@10.0.0.11 show version  Received disconnect from 10.0.0.11: 2: Packet integrity error.&lt;U&gt;Output for case 3:&lt;/U&gt;&lt;BR /&gt;
$ echo show version | ssh admin@10.0.0.11  Pseudo-terminal will not be allocated because stdin is not a terminal.      Enterasys D2-Series   Command Line Interface     Enterasys Networks, Inc.   50 Minuteman Rd.  Andover, MA 01810-1008 U.S.A.     Phone: +1 978 684 1000   E-mail: support@enterasys.com   WWW: http://www.enterasys.com     (c) Copyright Enterasys Networks, Inc. 2009    Chassis Serial Number:      08351019905C  Chassis Firmware Revision:  06.03.01.0008      D2(su)-&amp;gt;show version     Model            Serial #             Versions    --------------  -----------------  -------------------    D2G124-12         08351019905C      Hw:BCM5698 REV 17                                      Bp:01.00.44                                        Fw:06.03.01.0008                                        BuFw:01.00.03.0002       D2(su)-&amp;gt;Connection to 10.0.0.11 closed by remote host.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Oct 2016 19:30:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60110#M1866</guid>
      <dc:creator>Erik_Auerswald</dc:creator>
      <dc:date>2016-10-24T19:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60111#M1867</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I opend a GTAC case for this. The answer to the case was that plink isn't supported.&lt;BR /&gt;
&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Oct 2016 02:32:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60111#M1867</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2016-10-27T02:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60112#M1868</link>
      <description>Hi Stephan,&lt;BR /&gt;
&lt;BR /&gt;
you can use the following workaround:&lt;BR /&gt;
echo show system | plink.exe &lt;I&gt;IP&lt;/I&gt; -l &lt;I&gt;USER&lt;/I&gt; -pw &lt;I&gt;PASSWORD&lt;/I&gt;  (even on Windows)&lt;BR /&gt;
&lt;BR /&gt;
Erik</description>
      <pubDate>Fri, 28 Oct 2016 16:30:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60112#M1868</guid>
      <dc:creator>Erik_Auerswald</dc:creator>
      <dc:date>2016-10-28T16:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60113#M1869</link>
      <description>Hello Erik,&lt;BR /&gt;
&lt;BR /&gt;
thank you for the very good hint.&lt;BR /&gt;
It works quite nice with a b-series switch and version 6.61.08.0013&lt;BR /&gt;
&lt;BR /&gt;
but not with a s-series switch and version 8.42.02.0012&lt;BR /&gt;
&lt;BR /&gt;
On the s-series the output looks like:&lt;BR /&gt;
&lt;BR /&gt;
----------------------------------------&lt;BR /&gt;
echo show system | plink.exe IP -l USER -pw PASSWORD&lt;BR /&gt;
&lt;BR /&gt;
B O N D E  D   S 4   C H A S S I S    Command  Line Interface&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    Extreme  Networks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
    145 Rio  Robles&lt;BR /&gt;
&lt;BR /&gt;
    San Jose,  CA 95134&lt;BR /&gt;
&lt;BR /&gt;
    Phone:   +1 408 579-2800&lt;BR /&gt;
&lt;BR /&gt;
    E-mail: &lt;A href="https://mailto:support@extremenetworks.com" target="_blank" rel="nofollow noreferrer noopener"&gt;support@extremenetworks.com&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
    WWW:     &lt;A href="http://www.extremenetworks.com" target="_blank" rel="nofollow noreferrer noopener"&gt;http://www.extremenetworks.com&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    (c)  Copyright Extreme Networks, Inc. 2016&lt;BR /&gt;
&lt;BR /&gt;
     &lt;BR /&gt;
&lt;BR /&gt;
    Chassis Serial Number:       141xxxx&lt;BR /&gt;
&lt;BR /&gt;
    Chassis Firmware Revision:  08.42.02.0012&lt;BR /&gt;
&lt;BR /&gt;
-----------------------&lt;BR /&gt;
Nothing more!!!&lt;BR /&gt;
&lt;BR /&gt;
Maybe you have one more good idea?&lt;BR /&gt;
&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Oct 2016 17:47:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60113#M1869</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2016-10-28T17:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60114#M1870</link>
      <description>Hi Stephan,&lt;BR /&gt;
&lt;BR /&gt;
I do not have a simple workaround for the S-Series. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
The following &lt;A href="http://expect.sourceforge.net/" target="_blank" rel="nofollow noreferrer noopener"&gt;Expect&lt;/A&gt; script works for me on Ubuntu GNU/Linux with an SSA set up with IP address 10.0.0.101 and user account admin:password:&lt;BR /&gt;
#! /usr/bin/expect    spawn ssh admin@10.0.0.101  expect {    {word:?} {send "password\r"}  }  expect {    {)-&amp;gt;} {send "show system\r"}  }  expect {    {)-&amp;gt;} {send "exit\r"}  }  exit&lt;BR /&gt;
I have never tried Expect on Windows.&lt;BR /&gt;
&lt;BR /&gt;
The above script is just a proof-of-concept, it is not robust or production ready.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Erik</description>
      <pubDate>Thu, 03 Nov 2016 22:38:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60114#M1870</guid>
      <dc:creator>Erik_Auerswald</dc:creator>
      <dc:date>2016-11-03T22:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection problems with plink (putty for commandline) to EOS devices</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60115#M1871</link>
      <description>Hello Erik,&lt;BR /&gt;
&lt;BR /&gt;
your workaround works ( in Windows, too).&lt;BR /&gt;
&lt;BR /&gt;
Thank you for help.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2016 16:00:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/connection-problems-with-plink-putty-for-commandline-to-eos/m-p/60115#M1871</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2016-12-15T16:00:00Z</dc:date>
    </item>
  </channel>
</rss>

