<?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 Issues using Proxy NED settings for Jump Host in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/issues-using-proxy-ned-settings-for-jump-host/m-p/3807166#M3379</link>
    <description>&lt;P&gt;I have been trying to get a simple jump host NSO scenario working. I am following these helpful posts:&lt;BR /&gt;&lt;A href="https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-connect-to-device-that-requires-jump-host/td-p/3437827" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-connect-to-device-that-requires-jump-host/td-p/3437827&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/t5/nso-developer-hub-blogs/ned-operation-over-a-terminal-server/ba-p/3662102" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/nso-developer-hub-blogs/ned-operation-over-a-terminal-server/ba-p/3662102&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but my device is not connecting still. Using trace raw I have the following output:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;*** output 20-Feb-2019::22:04:54.111 ***&lt;BR /&gt;-- NCS VERSION: 6070000&lt;BR /&gt;-- NED VERSION: cisco-ios 5.2.7 2017-06-08&lt;BR /&gt;-- connect-timeout 20000 read-timeout 20000 write-timeout 20000&lt;BR /&gt;-- NED-SETTINGS: (* = modified)&lt;BR /&gt;-- device-profile = cisco-ios&lt;BR /&gt;-- cisco-ios-log-verbose = false&lt;BR /&gt;-- cisco-ios-auto/interface-switchport-status = false&lt;BR /&gt;-- cisco-ios-inject-interface-config globstat-sp if "Ethernet|Port-channel" cfg "no switchport"&lt;BR /&gt;-- cisco-ios-auto/vrf-forwarding-restore = true&lt;BR /&gt;-- cisco-ios-auto/ip-vrf-rd-restore = true&lt;BR /&gt;-- cisco-ios-auto/ip-community-list-repopulate = false&lt;BR /&gt;-- cisco-ios-write-memory-method = write memory&lt;BR /&gt;-- cisco-ios-write-memory-setting = on-commit&lt;BR /&gt;-- cisco-ios-transaction-id-method = config-hash&lt;BR /&gt;-- cisco-ios-show-running-method = show running-config&lt;BR /&gt;-- cisco-ios-api/new-ip-access-list = false&lt;BR /&gt;-- cisco-ios-cached-show-enable/version = true&lt;BR /&gt;-- cisco-ios-cached-show-enable/inventory = false&lt;BR /&gt;-- cisco-ios-use-ip-mroute-cache-distributed = false&lt;BR /&gt;-- cisco-ios-police-format = auto&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-connection = ssh*&lt;BR /&gt;-- cisco-ios-proxy-settings/proxy-prompt = .*$*&lt;BR /&gt;-- cisco-ios/connection-settings/prompt-timeout = 5*&lt;BR /&gt;-- cisco-ios/connection-settings/send-login-newline = false&lt;BR /&gt;-- cisco-ios/connection-settings/device-output-delay = 0&lt;BR /&gt;-- cisco-ios/behaviour/config-output-max-retries = 90&lt;BR /&gt;--&lt;BR /&gt;&amp;lt;&amp;lt; 20-Feb-2019::22:04:54.145 SET_TIMEOUT&lt;BR /&gt;-- SSH connecting to host: 54.200.0.15:22 --&lt;BR /&gt;-- SSH initializing session --&lt;BR /&gt;-- SSH logged in&lt;BR /&gt;-- PROXY connecting using: ssh&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-name = USER*&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-password = PASS*&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-address = 34.214.231.109*&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-port = 22*&lt;BR /&gt;-- Waiting for proxy prompt '.*$'&lt;/P&gt;&lt;P&gt;*** input 20-Feb-2019::22:04:56.027 ***&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*** output 20-Feb-2019::22:04:56.027 ***&lt;BR /&gt;ssh -p 22 ntc@34.214.231.109&lt;BR /&gt;-- Waiting for input from device&lt;/P&gt;&lt;P&gt;*** input 20-Feb-2019::22:04:56.027 ***&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*** output 20-Feb-2019::22:04:56.028 ***&lt;BR /&gt;-- Got proxy prompt ''&lt;BR /&gt;-- PROXY connected&lt;BR /&gt;terminal length 0&lt;/P&gt;&lt;P&gt;*** input 20-Feb-2019::22:04:56.113 ***&lt;BR /&gt;Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-59-generic x86_64)&lt;/P&gt;&lt;P&gt;* Documentation: &lt;A href="https://help.ubuntu.com" target="_blank" rel="noopener"&gt;https://help.ubuntu.com&lt;/A&gt;&lt;BR /&gt;* Management: &lt;A href="https://landscape.canonical.com" target="_blank" rel="noopener"&gt;https://landscape.canonical.com&lt;/A&gt;&lt;BR /&gt;* Support: &lt;A href="https://ubuntu.com/advantage" target="_blank" rel="noopener"&gt;https://ubuntu.com/advantage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;426 packages can be updated.&lt;BR /&gt;275 updates are security updates.&lt;/P&gt;&lt;P&gt;New release '18.04.2 LTS' available.&lt;BR /&gt;Run 'do-release-upgrade' to upgrade to it.&lt;/P&gt;&lt;P&gt;Last login: Thu Feb 21 01:01:10 2019 from 73.223.88.14&lt;/P&gt;&lt;P&gt;ssh -p 22 ntc@34.214.231.109&lt;BR /&gt;terminal length 0&lt;/P&gt;&lt;P&gt;&amp;#27;[01;32mntc@ntc&amp;#27;[00m:&amp;#27;[01;34m~&amp;#27;[00m&amp;#27;[00m$ ssh -p 22 ntc@34.214.231.109&lt;BR /&gt;&amp;lt;&amp;lt; 20-Feb-2019::22:05:17.008 ERROR: Failed to connect to device proxy_csr1: connection refused: ned_external_error read timeout&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have the following running config for the test device:&lt;/P&gt;&lt;P&gt;admin@ncs# show running-config devices device proxy_csr1&lt;BR /&gt;devices device proxy_csr1&lt;BR /&gt;address 54.200.0.15&lt;BR /&gt;ssh host-key ssh-rsa&lt;BR /&gt;key-data "ABC123"&lt;BR /&gt;!&lt;BR /&gt;authgroup ntc&lt;BR /&gt;device-type cli ned-id cisco-ios&lt;BR /&gt;device-type cli protocol ssh&lt;BR /&gt;trace raw&lt;BR /&gt;ned-settings cisco-ios connection-settings prompt-timeout 5&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-connection ssh&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-address 34.214.231.109&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-port 22&lt;BR /&gt;ned-settings cisco-ios-proxy-settings proxy-prompt .*$&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-prompt .*#&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-name USER&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-password PASS&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-secondary-password PASS&lt;BR /&gt;state admin-state unlocked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 21:27:54 GMT</pubDate>
    <dc:creator>jason.belk</dc:creator>
    <dc:date>2019-02-21T21:27:54Z</dc:date>
    <item>
      <title>Issues using Proxy NED settings for Jump Host</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/issues-using-proxy-ned-settings-for-jump-host/m-p/3807166#M3379</link>
      <description>&lt;P&gt;I have been trying to get a simple jump host NSO scenario working. I am following these helpful posts:&lt;BR /&gt;&lt;A href="https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-connect-to-device-that-requires-jump-host/td-p/3437827" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-connect-to-device-that-requires-jump-host/td-p/3437827&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/t5/nso-developer-hub-blogs/ned-operation-over-a-terminal-server/ba-p/3662102" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/nso-developer-hub-blogs/ned-operation-over-a-terminal-server/ba-p/3662102&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but my device is not connecting still. Using trace raw I have the following output:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;*** output 20-Feb-2019::22:04:54.111 ***&lt;BR /&gt;-- NCS VERSION: 6070000&lt;BR /&gt;-- NED VERSION: cisco-ios 5.2.7 2017-06-08&lt;BR /&gt;-- connect-timeout 20000 read-timeout 20000 write-timeout 20000&lt;BR /&gt;-- NED-SETTINGS: (* = modified)&lt;BR /&gt;-- device-profile = cisco-ios&lt;BR /&gt;-- cisco-ios-log-verbose = false&lt;BR /&gt;-- cisco-ios-auto/interface-switchport-status = false&lt;BR /&gt;-- cisco-ios-inject-interface-config globstat-sp if "Ethernet|Port-channel" cfg "no switchport"&lt;BR /&gt;-- cisco-ios-auto/vrf-forwarding-restore = true&lt;BR /&gt;-- cisco-ios-auto/ip-vrf-rd-restore = true&lt;BR /&gt;-- cisco-ios-auto/ip-community-list-repopulate = false&lt;BR /&gt;-- cisco-ios-write-memory-method = write memory&lt;BR /&gt;-- cisco-ios-write-memory-setting = on-commit&lt;BR /&gt;-- cisco-ios-transaction-id-method = config-hash&lt;BR /&gt;-- cisco-ios-show-running-method = show running-config&lt;BR /&gt;-- cisco-ios-api/new-ip-access-list = false&lt;BR /&gt;-- cisco-ios-cached-show-enable/version = true&lt;BR /&gt;-- cisco-ios-cached-show-enable/inventory = false&lt;BR /&gt;-- cisco-ios-use-ip-mroute-cache-distributed = false&lt;BR /&gt;-- cisco-ios-police-format = auto&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-connection = ssh*&lt;BR /&gt;-- cisco-ios-proxy-settings/proxy-prompt = .*$*&lt;BR /&gt;-- cisco-ios/connection-settings/prompt-timeout = 5*&lt;BR /&gt;-- cisco-ios/connection-settings/send-login-newline = false&lt;BR /&gt;-- cisco-ios/connection-settings/device-output-delay = 0&lt;BR /&gt;-- cisco-ios/behaviour/config-output-max-retries = 90&lt;BR /&gt;--&lt;BR /&gt;&amp;lt;&amp;lt; 20-Feb-2019::22:04:54.145 SET_TIMEOUT&lt;BR /&gt;-- SSH connecting to host: 54.200.0.15:22 --&lt;BR /&gt;-- SSH initializing session --&lt;BR /&gt;-- SSH logged in&lt;BR /&gt;-- PROXY connecting using: ssh&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-name = USER*&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-password = PASS*&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-address = 34.214.231.109*&lt;BR /&gt;-- cisco-ios-proxy-settings/remote-port = 22*&lt;BR /&gt;-- Waiting for proxy prompt '.*$'&lt;/P&gt;&lt;P&gt;*** input 20-Feb-2019::22:04:56.027 ***&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*** output 20-Feb-2019::22:04:56.027 ***&lt;BR /&gt;ssh -p 22 ntc@34.214.231.109&lt;BR /&gt;-- Waiting for input from device&lt;/P&gt;&lt;P&gt;*** input 20-Feb-2019::22:04:56.027 ***&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*** output 20-Feb-2019::22:04:56.028 ***&lt;BR /&gt;-- Got proxy prompt ''&lt;BR /&gt;-- PROXY connected&lt;BR /&gt;terminal length 0&lt;/P&gt;&lt;P&gt;*** input 20-Feb-2019::22:04:56.113 ***&lt;BR /&gt;Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-59-generic x86_64)&lt;/P&gt;&lt;P&gt;* Documentation: &lt;A href="https://help.ubuntu.com" target="_blank" rel="noopener"&gt;https://help.ubuntu.com&lt;/A&gt;&lt;BR /&gt;* Management: &lt;A href="https://landscape.canonical.com" target="_blank" rel="noopener"&gt;https://landscape.canonical.com&lt;/A&gt;&lt;BR /&gt;* Support: &lt;A href="https://ubuntu.com/advantage" target="_blank" rel="noopener"&gt;https://ubuntu.com/advantage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;426 packages can be updated.&lt;BR /&gt;275 updates are security updates.&lt;/P&gt;&lt;P&gt;New release '18.04.2 LTS' available.&lt;BR /&gt;Run 'do-release-upgrade' to upgrade to it.&lt;/P&gt;&lt;P&gt;Last login: Thu Feb 21 01:01:10 2019 from 73.223.88.14&lt;/P&gt;&lt;P&gt;ssh -p 22 ntc@34.214.231.109&lt;BR /&gt;terminal length 0&lt;/P&gt;&lt;P&gt;&amp;#27;[01;32mntc@ntc&amp;#27;[00m:&amp;#27;[01;34m~&amp;#27;[00m&amp;#27;[00m$ ssh -p 22 ntc@34.214.231.109&lt;BR /&gt;&amp;lt;&amp;lt; 20-Feb-2019::22:05:17.008 ERROR: Failed to connect to device proxy_csr1: connection refused: ned_external_error read timeout&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have the following running config for the test device:&lt;/P&gt;&lt;P&gt;admin@ncs# show running-config devices device proxy_csr1&lt;BR /&gt;devices device proxy_csr1&lt;BR /&gt;address 54.200.0.15&lt;BR /&gt;ssh host-key ssh-rsa&lt;BR /&gt;key-data "ABC123"&lt;BR /&gt;!&lt;BR /&gt;authgroup ntc&lt;BR /&gt;device-type cli ned-id cisco-ios&lt;BR /&gt;device-type cli protocol ssh&lt;BR /&gt;trace raw&lt;BR /&gt;ned-settings cisco-ios connection-settings prompt-timeout 5&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-connection ssh&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-address 34.214.231.109&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-port 22&lt;BR /&gt;ned-settings cisco-ios-proxy-settings proxy-prompt .*$&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-prompt .*#&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-name USER&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-password PASS&lt;BR /&gt;ned-settings cisco-ios-proxy-settings remote-secondary-password PASS&lt;BR /&gt;state admin-state unlocked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 21:27:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/issues-using-proxy-ned-settings-for-jump-host/m-p/3807166#M3379</guid>
      <dc:creator>jason.belk</dc:creator>
      <dc:date>2019-02-21T21:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using Proxy NED settings for Jump Host</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/issues-using-proxy-ned-settings-for-jump-host/m-p/4290919#M6112</link>
      <description>&lt;P&gt;Thanks for this input. Just for the overall completeness of this topic, please find below my implementation for ned proxy settings using a Jump Host with ssh public key authentication:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Define &lt;STRONG&gt;authgroup&lt;/STRONG&gt; for Jump Host&lt;/P&gt;
&lt;PRE&gt;devices authgroups group jump umap admin public-key private-key file name &amp;lt;key file&amp;gt;&lt;BR /&gt;remote-name &amp;lt;Jump Host User&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Define &lt;STRONG&gt;authgroup&lt;/STRONG&gt; for Device Host&lt;/P&gt;
&lt;PRE&gt;devices authgroups group default umap admin remote-name &amp;lt;device user&amp;gt; remote-password &amp;lt;device password&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Device config&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;devices device &amp;lt;MY-ROUTER&amp;gt; address 10.92.183.104 port 22        &amp;lt;-- Proxy IP &amp;amp; Port&lt;BR /&gt;authgroup jump                                                  &amp;lt;-- Proxy Authgroup with SSH PubKey&lt;BR /&gt;device-type cli ned-id cisco-iosxr-cli-7.33 protocol ssh&lt;BR /&gt;connect-timeout 60 read-timeout 120 write-timeout 120&lt;BR /&gt;state admin-state unlocked&lt;BR /&gt;ned-settings cisco-iosxr proxy remote-connection ssh            &amp;lt;-- Device protocol&lt;BR /&gt;ned-settings cisco-iosxr proxy proxy-prompt .$                  &amp;lt;-- Device Prompt&lt;BR /&gt;ned-settings cisco-iosxr proxy remote-address 1.1.1.1           &amp;lt;-- Device IP&lt;BR /&gt;ned-settings cisco-iosxr proxy remote-port 22                   &amp;lt;-- Device port&lt;BR /&gt;ned-settings cisco-iosxr proxy authgroup default.               &amp;lt;-- Device Authgroup&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 17:44:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/issues-using-proxy-ned-settings-for-jump-host/m-p/4290919#M6112</guid>
      <dc:creator>mawitmer</dc:creator>
      <dc:date>2021-02-12T17:44:59Z</dc:date>
    </item>
  </channel>
</rss>

