<?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 Here is the log from the in Cisco CLI Analyzer</title>
    <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085561#M158</link>
    <description>&lt;P&gt;Here is the log from the session.&lt;/P&gt;
&lt;P&gt;As you can see, there is nothing inserted after the login.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'm using v3.4.0&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2017 08:32:59 GMT</pubDate>
    <dc:creator>NeRFuX</dc:creator>
    <dc:date>2017-07-18T08:32:59Z</dc:date>
    <item>
      <title>Using jump server</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085557#M154</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;We are using a Ubuntu as a jumpserver, and users need to have SSH key to authenticate.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When I have setup this, I'm able to connect to the linux server, but CLI Analyzer do not insert the command for ssh to the device I'm trying against.&lt;BR /&gt;&lt;BR /&gt;I have also tried to modify the "Commands" and expect, under Jump Server Profile to match the prompt on the Linux host.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'm not able to find any log /debug that indicates that the software have problem parsing the Commands to the shell&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Is this a bug or is there something that I'm missing out on?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 09:58:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085557#M154</guid>
      <dc:creator>NeRFuX</dc:creator>
      <dc:date>2017-07-14T09:58:42Z</dc:date>
    </item>
    <item>
      <title>Hi Ole,</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085558#M155</link>
      <description>&lt;P&gt;Hi Ole,&lt;/P&gt;
&lt;P&gt;Can you post your Jump Server configuration and we'll take a look.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kevin W.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 12:06:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085558#M155</guid>
      <dc:creator>kevwilso</dc:creator>
      <dc:date>2017-07-14T12:06:03Z</dc:date>
    </item>
    <item>
      <title>Here is a sceenshoot of the</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085559#M156</link>
      <description>&lt;P&gt;Here is a sceenshoot of the configuration.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 06:35:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085559#M156</guid>
      <dc:creator>NeRFuX</dc:creator>
      <dc:date>2017-07-17T06:35:18Z</dc:date>
    </item>
    <item>
      <title>Ole,</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085560#M157</link>
      <description>&lt;P&gt;Ole,&lt;/P&gt;
&lt;P&gt;Thanks for the picture. &amp;nbsp;We need one more thing. &amp;nbsp;Can you turn on automatic logging and capture the initial login. &amp;nbsp;Also, what version of CLI Analyzer are you using?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kevin W&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 13:47:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085560#M157</guid>
      <dc:creator>kevwilso</dc:creator>
      <dc:date>2017-07-17T13:47:39Z</dc:date>
    </item>
    <item>
      <title>Here is the log from the</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085561#M158</link>
      <description>&lt;P&gt;Here is the log from the session.&lt;/P&gt;
&lt;P&gt;As you can see, there is nothing inserted after the login.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'm using v3.4.0&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:32:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085561#M158</guid>
      <dc:creator>NeRFuX</dc:creator>
      <dc:date>2017-07-18T08:32:59Z</dc:date>
    </item>
    <item>
      <title>I have the exact same problem</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085562#M159</link>
      <description>&lt;P&gt;I have the exact same problem. Looks like the&amp;nbsp;scripts lines won't kick in.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I suspect a problem with the dollar sign ($) on the first expect line to be the cause of the issue...&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;expect "[$username@xxxxxxx ~]\$" &amp;nbsp; &amp;nbsp;&amp;lt;---- I even tried to escape the character without success.&lt;BR /&gt;send "ssh $username@$hostname -p $port\r"&lt;BR /&gt;expect "Password:"&lt;BR /&gt;send "$password\r"&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:01:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085562#M159</guid>
      <dc:creator>Steve Rodrigue</dc:creator>
      <dc:date>2017-07-21T16:01:45Z</dc:date>
    </item>
    <item>
      <title>It may also be related to the</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085563#M160</link>
      <description>&lt;P&gt;It may also be related to the server prompt...&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Last login: Fri Jul 21 16:03:10 2017 from xxxxx.domain.com&lt;/P&gt;
&lt;DIV&gt;[username@jumpserver ~]$&lt;/DIV&gt;
&lt;P&gt;^^^^&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This is the exact prompt I get when I log to my jump server.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:06:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085563#M160</guid>
      <dc:creator>Steve Rodrigue</dc:creator>
      <dc:date>2017-07-21T16:06:20Z</dc:date>
    </item>
    <item>
      <title>I can reproduce the problem,</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085564#M161</link>
      <description>&lt;P&gt;I can reproduce the problem, I mess a bit with the script...&lt;BR /&gt;&lt;BR /&gt;When I manually log into my switch, I can see that the expect script is executed AFTER I get login to my equipment. Looks like the script kick in only when it sees a "#".&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;[username@jumpserver ~]$ ssh router&lt;/DIV&gt;
&lt;DIV&gt;Access to this device or the attached networks is prohibited&lt;/DIV&gt;
&lt;DIV&gt;without express written permission. Violators will be&lt;/DIV&gt;
&lt;DIV&gt;prosecuted to the fullest extent of both civil and criminal law.&lt;/DIV&gt;
&lt;DIV&gt;L'acces a ce peripheque ainsi qu'aux reseaux qui y sont connectes&lt;/DIV&gt;
&lt;DIV&gt;est interdit sans autorisation acrite. Les contrevenants seront&lt;/DIV&gt;
&lt;DIV&gt;poursuivis en vertue des lois civiles et penales.&lt;/DIV&gt;
&lt;DIV&gt;Password:&lt;/DIV&gt;
&lt;DIV&gt;Cisco Nexus Operating System (NX-OS) Software&lt;/DIV&gt;
&lt;DIV&gt;TAC support: http://www.cisco.com/tac&lt;/DIV&gt;
&lt;DIV&gt;Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.&lt;/DIV&gt;
&lt;DIV&gt;The copyrights to certain works contained in this software are&lt;/DIV&gt;
&lt;DIV&gt;owned by other third parties and used and distributed under&lt;/DIV&gt;
&lt;DIV&gt;license. Certain components of this software are licensed under&lt;/DIV&gt;
&lt;DIV&gt;the GNU General Public License (GPL) version 2.0 or the GNU&lt;/DIV&gt;
&lt;DIV&gt;Lesser General Public License (LGPL) Version 2.1. A copy of each&lt;/DIV&gt;
&lt;DIV&gt;such license is available at&lt;/DIV&gt;
&lt;DIV&gt;http://www.opensource.org/licenses/gpl-2.0.php and&lt;/DIV&gt;
&lt;DIV&gt;http://www.opensource.org/licenses/lgpl-2.1.php&lt;/DIV&gt;
&lt;DIV&gt;router# \n\n\nssh username@router -p 22&lt;/DIV&gt;
&lt;DIV&gt;^&lt;/DIV&gt;
&lt;DIV&gt;% Invalid command at '^' marker.&lt;/DIV&gt;
&lt;DIV&gt;router#&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:09:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085564#M161</guid>
      <dc:creator>Steve Rodrigue</dc:creator>
      <dc:date>2017-07-21T16:09:39Z</dc:date>
    </item>
    <item>
      <title>Hi Steve,</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085565#M162</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;I noticed you are using $username in your expect. We currently only support putting $username, $password, $hostname and $port variables in send statements, not expect statements. Expect statements are just a literal string comparison at this time.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Chris M.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 20:04:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085565#M162</guid>
      <dc:creator>cmagnum</dc:creator>
      <dc:date>2017-07-21T20:04:27Z</dc:date>
    </item>
    <item>
      <title>I would think regular</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085566#M163</link>
      <description>&lt;P&gt;I would think regular expression support might help here. &amp;nbsp;I'm havng an issue whereby some devices provide a "password" prompt, other provide a "Password" prompt - note the difference in upper/lower case.&lt;/P&gt;
&lt;P&gt;Unfortunately, at the moment it looks like the jump server expect processor is doing a search for a specific string, except for certain specific character that it doesn't allow.&lt;/P&gt;
&lt;P&gt;I've opened TAC case&amp;nbsp;&lt;SPAN class="text-bold ng-binding" ng-bind="caseNumber"&gt;682770245 to try to get a better answer on how this is "supposed" to behave. &amp;nbsp;One approach is to have a jump server profile that varies between different states. &amp;nbsp;However, for something as simple as a difference in uppercase / lowercase, having different jump server profiles is an inelegant and ugly hack. (Yes, I could just drop the p from the expect string, but that's equally&amp;nbsp;as stupid.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We'll see what TAC comes back with. &amp;nbsp;If this is something that can't be done, I'll&amp;nbsp;request to convert the TAC case to a feature request for either IOS-style regex or POSIX-style extended regex support; I think (in theory) that would also address the issue you're seeing here.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:31:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085566#M163</guid>
      <dc:creator>weylin.piegorsch</dc:creator>
      <dc:date>2017-07-27T13:31:41Z</dc:date>
    </item>
    <item>
      <title>Hi Weylin,</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085567#M164</link>
      <description>&lt;P&gt;Hi Weylin,&lt;/P&gt;
&lt;P&gt;You can go ahead and close the case. &amp;nbsp;Regex processing on the Expect is in the development roadmap for Jump Server processing.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kevin W.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:56:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085567#M164</guid>
      <dc:creator>kevwilso</dc:creator>
      <dc:date>2017-07-27T13:56:12Z</dc:date>
    </item>
    <item>
      <title>Hi, I looked at this together</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085568#M165</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I looked at this together with an developer at Cisco now. And in my case the problem was:&lt;/P&gt;
&lt;P&gt;1. I had inserted an enable password in the jump server credential profile. This makes the CLI Analyzer able to login, but is waiting for the "hostname&amp;gt;enable"- prompt &amp;nbsp;(like if you use a Cisco device as jump server). This will not work if you are using a linux box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Removing this password fixed the problem were nothing was happening when you were connected successfully to the jump server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;2. The expect waited for "Password" when its connect do a device, but since we have configure TACACS password are written in lowercase. So this was fixed by just chaning the expect to look for password in lowercase.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 13:36:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/3085568#M165</guid>
      <dc:creator>NeRFuX</dc:creator>
      <dc:date>2017-07-28T13:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Weylin,</title>
      <link>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/5088721#M621</link>
      <description>&lt;P&gt;Was Regex processing ever resolved within the roadmap? I am an user of CLI analyzer, as my primary Terminal app.&lt;BR /&gt;I am using Version 3.7.1, which according to &lt;A href="https://cway.cisco.com/docs/cisco-cli-analyzer/cisco-cli-analyzer-user-guide.pdf" target="_blank"&gt;https://cway.cisco.com/docs/cisco-cli-analyzer/cisco-cli-analyzer-user-guide.pdf&lt;/A&gt; states 3.5+ is supported.&lt;/P&gt;
&lt;P&gt;For example, I need to jump to a box in order to access an ASA on say 10.1.1.1.&lt;BR /&gt;I am able to complete into privileged access to a Cisco ASA which "expects" something like the following in Line 3:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;expect "[myJumpUser@thejumpbox ~]$"&lt;BR /&gt;send "ssh $username@$hostname -p $port\r"&lt;BR /&gt;expect -i "myASAUser@10.10.1.1's password: "&lt;BR /&gt;send "$password\r"&lt;/PRE&gt;
&lt;P&gt;The above being literal/explicit.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I was hoping to achieve something like the following in order to build only 1 Jump Server Profile for Many ASAs:&lt;/P&gt;
&lt;PRE&gt;expect "[myJumpUser@thejumpbox ~]$"&lt;BR /&gt;send "ssh $username@$hostname -p $port\r"&lt;BR /&gt;expect -i "$username@$hostname's password: "&lt;BR /&gt;send "$password\r"&lt;/PRE&gt;
&lt;P&gt;Is there anything that could be recommended for Line 3?&lt;BR /&gt;If not using regex $, perhaps a wildcard or something to ignore the line?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 12:31:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-cli-analyzer/using-jump-server/m-p/5088721#M621</guid>
      <dc:creator>frank-ralston</dc:creator>
      <dc:date>2024-05-03T12:31:06Z</dc:date>
    </item>
  </channel>
</rss>

