<?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: IMC not able to SSH into Cisco ASA's in IMC</title>
    <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086240#M5818</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It sounds like it could it be the 'super' (equivalent to enable password on Cisco) password that is having issues. I'd suggest testing without the super password configured on both iMC SSH Settings and on the device, and seeing if that works.&lt;/P&gt;&lt;P&gt;On the IMC side, you could set 'imcnetresdm' to DEBUG (via System Configuration &amp;gt; Log Configuration) and then run an SSH Parameters test. Check the iMC\server\conf\log\imcnetresdm&amp;lt;date&amp;gt;.txt file afterwards and see if there is any relevant error.&lt;/P&gt;&lt;P&gt;In the case of a successful SSH parameter test on a Comware switch, I could see the following lines when it completes:&lt;/P&gt;&lt;P&gt;2020-04-28 15:28:04.970 [DEBUG (0)] [THREAD(13160)] prompt is: &amp;lt;5900AF&amp;gt;&lt;BR /&gt;2020-04-28 15:28:04.970 [DEBUG (0)] [THREAD(13160)] [CDevParamVerifyTask::verifySshParam] Connect success.&lt;/P&gt;&lt;P&gt;Try searching through the file for&amp;nbsp;verifySshParam and see what result it shows.&lt;/P&gt;&lt;P&gt;Another option for debugging it would be to run a configuration backup after setting 'imccfgbakdm' to DEBUG. The backup log tends to be more verbose and provides the full text output from the device login and backup process when it fails. The script output is shown after an entry like this:&lt;/P&gt;&lt;P&gt;&amp;lt;Timestamp&amp;gt; [INFO (0)] [THREAD(12752)] [imcscriptttol] log: =============================== Begin=============================&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 12:36:49 GMT</pubDate>
    <dc:creator>jguse</dc:creator>
    <dc:date>2020-04-28T12:36:49Z</dc:date>
    <item>
      <title>IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086079#M5810</link>
      <description>&lt;P&gt;I've been having problems&amp;nbsp;with getting IMC working with Cisco ASA's for some time. One of the issues being SSH test not working correctly, I have created SSH template&amp;nbsp;specifically for the ASA's and that is user, password + super password (I hope this is equivalent&amp;nbsp;to enable in Cisco World).&lt;/P&gt;&lt;P&gt;I am able however to SSH to the same ASA's from the actual&amp;nbsp;server itself - putty&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the ASA's I can't see IMC getting to the firewalls ok but it seems that IMC resets the connection&amp;nbsp;&lt;/P&gt;&lt;P&gt;ASA's are 5516x's and 5506's&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 13:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086079#M5810</guid>
      <dc:creator>pattap</dc:creator>
      <dc:date>2020-04-27T13:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086192#M5814</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Can you please let me know the IMC version also let me know IMC able to identify ASA model and other details properly ?&lt;/P&gt;&lt;P&gt;1. Refresh and Re-sync the ASA in IMC&lt;/P&gt;&lt;P&gt;2. Share the screenshot of the error if you seen any in IMC&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Failure logs from IMC server&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 04:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086192#M5814</guid>
      <dc:creator>jmpk</dc:creator>
      <dc:date>2020-04-28T04:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086205#M5815</link>
      <description>&lt;P&gt;Hi jmpk&lt;/P&gt;&lt;P&gt;- version&amp;nbsp;&lt;SPAN&gt;iMC PLAT 7.3 (E0703)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. done as the first step,&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 255px;"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/115115iD453EBE04EC00AD1/image-dimensions/255x138?v=v2" width="255" height="138" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;to comment on tha above, snmp works, device can be pinged, credentials verified, ASA allows IMC to ssh to itself - can ssh to it from the server with putty as a POC, from ASA perspective I can see IMC trying to connect but TCP RST is sent from the server at some point.&lt;/P&gt;&lt;P&gt;3. no idea which logs contain failed ssh test attempts, can you point me to the right direction?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086205#M5815</guid>
      <dc:creator>pattap</dc:creator>
      <dc:date>2020-04-28T08:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086240#M5818</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It sounds like it could it be the 'super' (equivalent to enable password on Cisco) password that is having issues. I'd suggest testing without the super password configured on both iMC SSH Settings and on the device, and seeing if that works.&lt;/P&gt;&lt;P&gt;On the IMC side, you could set 'imcnetresdm' to DEBUG (via System Configuration &amp;gt; Log Configuration) and then run an SSH Parameters test. Check the iMC\server\conf\log\imcnetresdm&amp;lt;date&amp;gt;.txt file afterwards and see if there is any relevant error.&lt;/P&gt;&lt;P&gt;In the case of a successful SSH parameter test on a Comware switch, I could see the following lines when it completes:&lt;/P&gt;&lt;P&gt;2020-04-28 15:28:04.970 [DEBUG (0)] [THREAD(13160)] prompt is: &amp;lt;5900AF&amp;gt;&lt;BR /&gt;2020-04-28 15:28:04.970 [DEBUG (0)] [THREAD(13160)] [CDevParamVerifyTask::verifySshParam] Connect success.&lt;/P&gt;&lt;P&gt;Try searching through the file for&amp;nbsp;verifySshParam and see what result it shows.&lt;/P&gt;&lt;P&gt;Another option for debugging it would be to run a configuration backup after setting 'imccfgbakdm' to DEBUG. The backup log tends to be more verbose and provides the full text output from the device login and backup process when it fails. The script output is shown after an entry like this:&lt;/P&gt;&lt;P&gt;&amp;lt;Timestamp&amp;gt; [INFO (0)] [THREAD(12752)] [imcscriptttol] log: =============================== Begin=============================&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 12:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086240#M5818</guid>
      <dc:creator>jguse</dc:creator>
      <dc:date>2020-04-28T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086330#M5819</link>
      <description>&lt;P&gt;Justin&lt;/P&gt;&lt;P&gt;Using user/password combo doesn't work either.&lt;/P&gt;&lt;P&gt;I checked the logs after testing ssh from IMC UI, the below is the result, fails to open ssh_v1 script but ssh2 is used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:31:45.963 [DEBUG (0)] [THREAD(17336)] [CDevParamVerifyTask::verifySshParam()] dev_id = 7137&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:31:45.963 [DEBUG (0)] [THREAD(17336)] [CTemplateMgrTask::generateNewSSHKeyFile] SSH is password authentication.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:31:45.965 [ERROR (-1)] [THREAD(17336)] [CSSHExecutor::login()] File :D:\Program Files\iMC\server\bin\..\..\server\conf\ssh_v1_devices.cfg can't open.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:31:45.965 [DEBUG (0)] [THREAD(17336)] [CSSHService::connect] tryconnect(): ip = 10.x.x.x,user = adm, secretkeyfile = , keypharse = , timeout = 10, port = 22,sshversion = SSHV2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:31:45.981 [ERROR (1)] [THREAD(17336)] [CDevParamVerifyTask::verifySshParam] Connect unknown error&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;After trying to backup the same device, it looks that IMC managed to login this time&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:38:04.414 [INFO (0)] [THREAD(10888)] [imcscriptttol] tcl log after timeout: =============================== Begin=============================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:38:04.414 [INFO (0)] [THREAD(10888)] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;adm@10.x.x.x's password: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;User secadm logged in to asa-01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;Logins over the last 91 days: 435. Last login: 07:27:50 UTC Apr 29 2020 from 10.x.x.x&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;Failed logins since the last login: 0. Last failed login: 09:21:27 UTC Apr 28 2020 from 10.x.x.x&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;Type help or '?' for a list of available commands.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;asa-01/pri/act&amp;gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:38:04.414 [INFO (0)] [THREAD(10888)] [imcscriptttol] tcl log after timeout: =============================== End===============================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:38:04.414 [ERROR (-1)] [THREAD(10888)] [CScriptProcessor::processCfgLog] File :D:\Program Files\iMC\server\bin\..\..\server/tmp/scripttool_17516_2996553893_output.cfg can not open.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;2020-04-29 08:38:05.420 [INFO (0)] [THREAD(10888)] [CScriptProcessor::processLog] File :D:\Program Files\iMC\server\bin\..\..\server\conf\log\imcscripttool_ICC_10.x.x.x.2020-04-29.txt is deleted&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 08:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086330#M5819</guid>
      <dc:creator>pattap</dc:creator>
      <dc:date>2020-04-29T08:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086469#M5826</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;IMC will use SSHv2 to connect to devices by default - ssh_v1_devices.cfg file is an optional file you could create only if you really need the software to use SSHv1 to access your device instead when it doesn't support SSHv2. I don't think you need this here.&lt;/P&gt;&lt;P&gt;From the imccfgbakdm output is looks like the script ends at your device's prompt:&amp;nbsp;&lt;SPAN&gt;asa-01/pri/act&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I wonder if this could be due to the / characters in the prompt and/or that it shows /pri/act (Active-Standby ASA configuration?) after what I assume is the device hostname - IMC looking for the hostname followed by &amp;gt; and not finding it.&lt;/P&gt;&lt;P&gt;Could you please try disabling the /pri/act (I think the command is 'no prompt hostname priority state'), synchronize the device in iMC and test again to see if that makes a difference?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 10:22:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086469#M5826</guid>
      <dc:creator>jguse</dc:creator>
      <dc:date>2020-04-30T10:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086575#M5827</link>
      <description>&lt;P&gt;I have disabled the prompt, command was prompt&amp;nbsp;hostname, there are other options but to keep it basic that did the trick.&lt;/P&gt;&lt;P&gt;You were right&amp;nbsp;&lt;SPAN&gt;asa-01 is the hostname&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Still no luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logs from&amp;nbsp;imcnetresdm.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 19:44:55.146 [INFO (2)] [THREAD(7328)] [CDevMgr::getDevSoftInfoForCisco] call iGetNextVbValue fail when access dev[10.x.x.x]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 19:44:55.168 [INFO (2)] [THREAD(7328)] [CDevMgr::getDevBridgeMacAddress()] call iGetNextVbValue fail when access dev[10.x.x.x]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 19:44:55.209 [ERROR (-1)] [THREAD(7328)] [CSSHExecutor::login()] File :D:\Program Files\iMC\server\bin\..\..\server\conf\ssh_v1_devices.cfg can't open.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 19:44:55.224 [ERROR (1)] [THREAD(7328)] [CSSHExecutor::login] fail to call CSSHService::connect(), ssh connect close.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 19:44:55.224 [ERROR (0)] [THREAD(7328)] [CConfigProcessor::login()] Failed to login: 4793&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;logs from imccfgbakdm, after failed attempt of backup. As p&lt;FONT color="#000000"&gt;reviously IMC get to user exec mode ok,&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 20:05:57.755 [INFO (0)] [THREAD(18160)] [imcscriptttol] tcl log after timeout: =============================== Begin=============================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 20:05:57.755 [INFO (0)] [THREAD(18160)] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;admin@10.x.x.x's password: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;User admin logged in to asa-01&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;Logins over the last 91 days: 226. Last login: 18:55:44 UTC Apr 30 2020 from 10.i.i.i&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;Failed logins since the last login: 0. Last failed login: 18:44:03 UTC Apr 30 2020 from 10.x.x.x&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;Type help or '?' for a list of available commands.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;asa-01&amp;gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;2020-04-30 20:05:57.755 [INFO (0)] [THREAD(18160)] [imcscriptttol] tcl log after timeout: =============================== End===============================&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;........................ some output omitted&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&lt;FONT color="#000000"&gt;I can't see an indication of successful login to privileged&amp;nbsp;exec(enable) mode, not sure what to expect, it looks that IMC tries to run some scripts to achieve it&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;020-04-30 20:30:10.843 [INFO (0)] [THREAD(12688)] [CCLIScriptProcessor::gotoMode()] Begin, ip: 10.x.x.x, current mode: exec, new mode: enable&lt;BR /&gt;2020-04-30 20:30:10.843 [INFO (0)] [THREAD(12688)] [CTclExecutor::exec_impl()] Begin to exec: D:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Cisco/CiscoASA5500 X Gen/enter_enable.tcl&lt;BR /&gt;2020-04-30 20:30:11.876 [INFO (0)] [THREAD(12688)] [CTclExecutor::exec_impl()] Finished.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 20:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086575#M5827</guid>
      <dc:creator>pattap</dc:creator>
      <dc:date>2020-04-30T20:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086866#M5839</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I see you have a custom adapter created for your ASA model. Custom adapters are generally not supported as we don't have the adapter scripts ourselves to investigate, but will try to give you some pointers here and hope you can fix this. Are the scripts in the adapter you created a copy of the Cisco\CiscoASA adapter folder?&lt;/P&gt;&lt;P&gt;The enter_enable.tcl script in the output you shared is the one that runs after enter_exec.tcl to run the "enable" command to get to privileged mode on the device, and it should find a # prompt after running enable to continue.&amp;nbsp;I don't see this script running enable command at all in the output you shared, so it's more likely the issue is on enter_exec.tcl not recognizing that the device is providing the user exec mode prompt.&lt;/P&gt;&lt;P&gt;Comparing CiscoASA and CiscoIOSGeneric adapter, the IOS adapter matches the prompts more specifically with the device name (hostname shown in iMC). Using this method can help iMC scripts recognize the device prompt properly.&lt;/P&gt;&lt;P&gt;Specifically the initialize.tcl script which declares the variables used by the other scripts contains the following for ASA:&lt;BR /&gt;set exec_prompt &amp;gt;&lt;BR /&gt;set enable_prompt #&lt;/P&gt;&lt;P&gt;While for CiscoIOSGeneric it is the following:&lt;/P&gt;&lt;P&gt;set exec_prompt &amp;gt;&lt;BR /&gt;set exec_prompt $DevName$exec_prompt&lt;BR /&gt;set enable_prompt #&lt;BR /&gt;set enable_prompt $DevName$enable_prompt&lt;/P&gt;&lt;P&gt;I'm thinking you could test adding the two missing lines from CiscoIOSGeneric to your custom adapter's initialize.tcl and see if that helps your scripts to proceed. Restart iMC and synchronize your device after the change.&lt;/P&gt;&lt;P&gt;Just note that when you use $DevName variable like above, it gets replaced with the hostname of the device as shown in iMC - so in your case this should be "asa-01" and not include a domain/FQDN, otherwise it will not be able to match the device prompt.&lt;/P&gt;&lt;P&gt;Hope that helps. If you still run into issues afterwards please share the new tcl log.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 07:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086866#M5839</guid>
      <dc:creator>jguse</dc:creator>
      <dc:date>2020-05-04T07:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMC not able to SSH into Cisco ASA's</title>
      <link>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086871#M5841</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1233167"&gt;@jguse&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;A title="mcdvoice survey" href="https://www.mcdvoice.page/" target="_self"&gt;&lt;SPAN&gt;mcdvoice survey&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I see you have a custom adapter created for your ASA model. Custom adapters are generally not supported as we don't have the adapter scripts ourselves to investigate, but will try to give you some pointers here and hope you can fix this. Are the scripts in the adapter you created a copy of the Cisco\CiscoASA adapter folder?&lt;/P&gt;&lt;P&gt;The enter_enable.tcl script in the output you shared is the one that runs after enter_exec.tcl to run the "enable" command to get to privileged mode on the device, and it should find a # prompt after running enable to continue.&amp;nbsp;I don't see this script running enable command at all in the output you shared, so it's more likely the issue is on enter_exec.tcl not recognizing that the device is providing the user exec mode prompt.&lt;/P&gt;&lt;P&gt;Comparing CiscoASA and CiscoIOSGeneric adapter, the IOS adapter matches the prompts more specifically with the device name (hostname shown in iMC). Using this method can help iMC scripts recognize the device prompt properly.&lt;/P&gt;&lt;P&gt;Specifically the initialize.tcl script which declares the variables used by the other scripts contains the following for ASA:&lt;BR /&gt;set exec_prompt &amp;gt;&lt;BR /&gt;set enable_prompt #&lt;/P&gt;&lt;P&gt;While for CiscoIOSGeneric it is the following:&lt;/P&gt;&lt;P&gt;set exec_prompt &amp;gt;&lt;BR /&gt;set exec_prompt $DevName$exec_prompt&lt;BR /&gt;set enable_prompt #&lt;BR /&gt;set enable_prompt $DevName$enable_prompt&lt;/P&gt;&lt;P&gt;I'm thinking you could test adding the two missing lines from CiscoIOSGeneric to your custom adapter's initialize.tcl and see if that helps your scripts to proceed. Restart iMC and synchronize your device after the change.&lt;/P&gt;&lt;P&gt;Just note that when you use $DevName variable like above, it gets replaced with the hostname of the device as shown in iMC - so in your case this should be "asa-01" and not include a domain/FQDN, otherwise it will not be able to match the device prompt.&lt;/P&gt;&lt;P&gt;Hope that helps. If you still run into issues afterwards please share the new tcl log.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Happy to hear that! Your comment made mine.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 06:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-not-able-to-ssh-into-cisco-asa-s/m-p/7086871#M5841</guid>
      <dc:creator>DarkWillow</dc:creator>
      <dc:date>2020-05-05T06:51:54Z</dc:date>
    </item>
  </channel>
</rss>

