<?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 I am trying to add an SFTP in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370919#M89061</link>
    <description>&lt;P&gt;I am trying to add an SFTP Repository in ISE 2.0 patch 2. &amp;nbsp;I create the repo in the GUI, then went to the CLI to add the host key. &amp;nbsp;If I use hostname or IP Address I get the same error.&lt;/P&gt;
&lt;P&gt;ISE/admin# crypto host_key add host sftp-server&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[384] [admin]: obtained ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[390] [admin]: INVOKED: releasing ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[419] [admin]: released ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[384] [admin]: obtained ssh-pubkey lock&lt;BR /&gt;%host-key add failed&lt;BR /&gt;3 [27143]:[error] config:repository: crypto_cli.c[1310] [admin]: host-key add failed&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[390] [admin]: INVOKED: releasing ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[419] [admin]: released ssh-pubkey lock&lt;/P&gt;
&lt;P&gt;As well, in ISE 2.0 you cannot put the key under the repo itself, it all under exec mode.&lt;/P&gt;
&lt;P&gt;ISE/admin(config)# repository SFTP-BACKUP&lt;BR /&gt;% Warning: Host key of the server must be added using 'crypto host_key add' exec command before sftp repository can be used.&lt;BR /&gt;ISE/admin(config-Repository)# ?&lt;BR /&gt;Configure Repository:&lt;BR /&gt; do EXEC command&lt;BR /&gt; end Exit from configure mode&lt;BR /&gt; exit Exit from this submode&lt;BR /&gt; no Negate a command or set its defaults&lt;BR /&gt; url Configure Repository URL&lt;BR /&gt; user Configure repository username and password for access&lt;/P&gt;
&lt;P&gt;Time and timezone are perfect. Anyone know why it is failing? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2016 18:15:19 GMT</pubDate>
    <dc:creator>kylerossd</dc:creator>
    <dc:date>2016-03-03T18:15:19Z</dc:date>
    <item>
      <title>How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370911#M89046</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble copying my ISE 1.2 upgrade files to my local repositories. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a cut and paste from my CLI on one of my ISE nodes after attemtping to copy from my workstation (running an SFTP server) to one of my ISE nodes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;XXX-ise-01/admin# Copy s&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;My_SFTP_Server_IP_Address&amp;gt;/ise-upgradebundle-1.1.x-to-1.2.0.899.i386.tar.gz. disk:/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Username: Admin&lt;/P&gt;&lt;P&gt;Password:&lt;/P&gt;&lt;P&gt;% ERROR : Backup failed due to one of the following reasons&lt;/P&gt;&lt;P&gt;1. host-key option is not configured&lt;/P&gt;&lt;P&gt;2. host key is removed because of re-image&lt;/P&gt;&lt;P&gt;3. host key is removed from some other repository having same ip/hostname&lt;/P&gt;&lt;P&gt;% Please reconfigure the host-key option&lt;/P&gt;&lt;P&gt;% Error: Transfer failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not configured anything with the "Host-Key" option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have googled and searched but can only find limited references to the "Host-key" command within Cisco. I have tried various forms of this on the ISE node with no luck. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried an FTP transfer but that did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 04:13:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370911#M89046</guid>
      <dc:creator>RSundstrom</dc:creator>
      <dc:date>2019-03-11T04:13:39Z</dc:date>
    </item>
    <item>
      <title>How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370912#M89047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to try adding a this repository to your local configuration as an sftp server as that should start the host-key process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tarik Admani &lt;BR /&gt;*Please rate helpful posts*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 23:52:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370912#M89047</guid>
      <dc:creator>Tarik Admani</dc:creator>
      <dc:date>2013-12-30T23:52:09Z</dc:date>
    </item>
    <item>
      <title>How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370913#M89048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option is to configure SFTP repository and local repository in ISE from CLI and get it downloaded to local repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example of configuring sftp repository with in ISE from CLI is as follows:&lt;/P&gt;&lt;P&gt; When configuring &lt;STRONG&gt;url sftp:&lt;/STRONG&gt; in the submode, you&amp;nbsp; must provide the host-key under repository configuration through CLI and&amp;nbsp; the RSA fingerprint is added to the list of SSH known hosts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="wp2337511"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt; To disable this function, use the &lt;STRONG&gt;no&lt;/STRONG&gt; form of &lt;STRONG&gt;host-key host&lt;/STRONG&gt; command in the submode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="wp2338102"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt; Cisco ISE displays the following warning when you configure a secure ftp&amp;nbsp; repository in the administration user interface in Administration &amp;gt;&amp;nbsp; System &amp;gt; Maintenance &amp;gt; Repository &amp;gt; Add Repository. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="wp2338859"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt; The host key of the SFTP server must be added through the CLI by using the host-key option before this repository can be used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="wp2339020"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt; A corresponding error is thrown in the Cisco ADE logs when you try to&amp;nbsp; back up into a secure FTP repository without configuring the host-key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="wp2111443"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt; Example 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="wp2111444"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin# configure termainal
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2111952"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config)# repository myrepository
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp1013949"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;ise/admin(config-Repository)# url s&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://ise-pap"&gt;ftp://ise-pap&lt;/A&gt;&lt;SPAN&gt;
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp1013950"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config-Repository)# host-key host ise-pap
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2337745"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;host key fingerprint added
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2337746"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;# Host ise-pap found: line 1 type RSA
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2337747"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;2048 f2:e0:95:d7:58:f2:02:ba:d0:b8:cf:d5:42:76:1f:c6 ise-pap (RSA)
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp1061772"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2337743"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config-Repository)# exit
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp1061773"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config)# exit
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2112065"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin#
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2111478"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt; Example 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="wp2111998"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin# configure termainal
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2111978"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config)# repository myrepository
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2111894"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;ise/admin(config-Repository)# url s&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://ise-pap"&gt;ftp://ise-pap&lt;/A&gt;&lt;SPAN&gt;
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2111895"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config-Repository)# no host-key host ise-pap
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2111896"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config-Repository)# &lt;CODE&gt;exit
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2112214"&gt;&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;ise/admin(config)# &lt;CODE&gt;exit
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A name="wp2112215"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt; ise/admin# &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:50:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370913#M89048</guid>
      <dc:creator>Naresh Ginjupalli</dc:creator>
      <dc:date>2013-12-31T01:50:34Z</dc:date>
    </item>
    <item>
      <title>How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370914#M89050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured the host-key option as you suggested and it apparently worked well. I still am having troubles transferring the upgrade file to the ISE local disk. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am entering this command on the ISE CLI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;XXX-ISE-01/admin# copy s&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://SFTP_Server_IP_Address/ise-upgradebundle-1.1.x-to-1.2.0.899.i386.tar.gZ"&gt;ftp://SFTP_Server_IP_Address/ise-upgradebundle-1.1.x-to-1.2.0.899.i386.tar.gZ&lt;/A&gt;&lt;SPAN&gt; disk:/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The response I get from ISE is this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;XXX_ISE-01/admin# copy s&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://SFTP_Server_IP_Address/ise-upgradebundle-1.1.x-to-1.2.0.899.i386.tar.gZ"&gt;ftp://SFTP_Server_IP_Address/ise-upgradebundle-1.1.x-to-1.2.0.899.i386.tar.gZ&lt;/A&gt;&lt;SPAN&gt; disk:/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Username: AdminUserName&lt;/P&gt;&lt;P&gt;Password:&lt;/P&gt;&lt;P&gt;% Error: Transfer failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The SFTP_Server_IP_Address is the IP address of my desktop which is running an SFTP server. The file to be transferred is located on the root of the sftp server.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is about a 60 second pause from the point at which I enter my password and click "Enter" and the point at which it comes up with the "% Error: transfer failed" message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I attempt the file transfer I enter the "show repo local" command on the ISE CLI there is the file name shown but when I enter the "dir" command the file shows that it has a file size of 0 (zero). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no firewalls between my desktop SFTP server and the ISE node. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 16:33:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370914#M89050</guid>
      <dc:creator>RSundstrom</dc:creator>
      <dc:date>2014-01-02T16:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370915#M89052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering why the last character is capitalized. Also are you able to copy files from the disk file over to the same repository. I havent had any problems and I see in a seperate thread that the user gave other directions on how to transfer the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can open two ssh connection and try to run the following command to tail the logs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"show logging system ade/ADE.log tail" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should get some messaging behind the error you are receiving, for example I went to look for a file that did not exist (even though I am using ftp you should get the same error). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is when the transfer fails:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-01-02T13:41:22.506519-06:00 ise01 ADE-SERVICE[4786]: [30325]:[info] transfe&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;r: cars_xfer.c[264] [tadmani]: ftp copy in of &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://172.16.249.1/test" rel="nofollow"&gt;ftp://172.16.249.1/test&lt;/A&gt;&lt;SPAN&gt; requested&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2014-01-02T13:41:22.522470-06:00 ise01 ADE-SERVICE[4786]: [30325]:[error] transf&lt;/P&gt;&lt;P&gt;er: cars_xfer_util.c[349] [tadmani]: &lt;STRONG&gt;curl error: FTP: couldn't retrieve (RETR fa&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iled) the specified file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2014-01-02T13:41:22.523040-06:00 ise01 ADE-SERVICE[4786]: [30325]:[error] copy: &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cm_copy.c[1144] [tadmani]: local file disk:/ transfer from url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://172.16.249" rel="nofollow"&gt;ftp://172.16.249&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1/test failed retcode=-302&lt;/P&gt;&lt;P&gt;2014-01-02T13:41:22.527148-06:00 ise01 ADEOSShell[30325]: ADEAUDIT 3017, type=CO&lt;/P&gt;&lt;P&gt;PY, name=COPY IN FILE FAILED, username=tadmani, cause=Error while copying file f&lt;/P&gt;&lt;P&gt;rom remote system, adminipaddress=172.16.247.12, interface=CLI, detail=Disk file&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; disk:/ transfer from url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://172.16.249.1/test" rel="nofollow"&gt;ftp://172.16.249.1/test&lt;/A&gt;&lt;SPAN&gt; failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is when login fails:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;curl error: FTP: login denied&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some logging around a successful transfer - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-01-02T13:44:46.897499-06:00 ise01 ADE-SERVICE[4786]: [30766]:[info] transfe&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;r: cars_xfer.c[264] [tadmani]: ftp copy in of &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://172.16.249.1/running-config" rel="nofollow"&gt;ftp://172.16.249.1/running-config&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;requested&lt;/P&gt;&lt;P&gt;2014-01-02T13:44:46.934972-06:00 ise01 ADEOSShell[30766]: ADEAUDIT 2042, type=CO&lt;/P&gt;&lt;P&gt;PY, name=COPY FILE, username=tadmani, cause=Copied a file, adminipaddress=172.16&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.247.12, interface=CLI, detail=Copied disk file disk:/ from url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://172.16.249" rel="nofollow"&gt;ftp://172.16.249&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.1/running-config successfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarik Admani &lt;BR /&gt;*Please rate helpful posts*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 19:45:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370915#M89052</guid>
      <dc:creator>Tarik Admani</dc:creator>
      <dc:date>2014-01-02T19:45:46Z</dc:date>
    </item>
    <item>
      <title>How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370916#M89055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Tarik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all these things without success. I am going to open a case with Cisco TAC. I will update this thread when I am successful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 20:49:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370916#M89055</guid>
      <dc:creator>RSundstrom</dc:creator>
      <dc:date>2014-01-02T20:49:24Z</dc:date>
    </item>
    <item>
      <title>How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370917#M89057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello again Tarik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was still unsuccessful with my file transfer using SFTP. Because of time restraints I used FTP to get the file transferred. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the mistakes I was making was in my understanding of the CLI programming for the repository. First, to create a repository when upgrading to Version 1.2 you can only use the CLI to accomplish this. You cannot use the Create Repository location on the UI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating a repo you will enter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isebox01/admin(config)# repository SFTP &lt;/P&gt;&lt;P&gt;In the above line the SFTP does not refer to the protocol to be used at all. It simply is naming the repo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isebox01/admin(config)# user cisco password plain C1sc0123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isebox01/admin(config)# url sftp:172.17.1.7&lt;/P&gt;&lt;P&gt;In the above line the protocol to be used is now named. It is sftp. If you wanted to use FTP you would have entered ftp here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your help,&lt;/P&gt;&lt;P&gt;I hope this helps the next admin.&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 20:19:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370917#M89057</guid>
      <dc:creator>RSundstrom</dc:creator>
      <dc:date>2014-01-07T20:19:05Z</dc:date>
    </item>
    <item>
      <title>How do I enable "Host-key" for my sftp server on ISE?</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370918#M89059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I was finally successful in creating a functioning SFTP repository. Here is what I had to do...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my SFTP server on my workstation I deleted all my user accounts and created one new user.&lt;/P&gt;&lt;P&gt;Next. I went to the ISE UI and deleted the SFTP repository that I had been using. &lt;/P&gt;&lt;P&gt;Next. I went to the ISE GUI and deleted the same SFTP repo again.&lt;/P&gt;&lt;P&gt;Next. I created a new repo in the ISE GUI and pointed it at the SFTP server in my desktop workstation.&lt;/P&gt;&lt;P&gt;Next. I went to the ISE CLI and from the # prompt I added the crypto host-key add "IP_Address_of_workstation".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This finally got the job done.&lt;/P&gt;&lt;P&gt;Basically, I had to delete everything and re-enter it along with the crypto host-key add command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps someone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tarik, thank you for your help,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 21:04:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370918#M89059</guid>
      <dc:creator>RSundstrom</dc:creator>
      <dc:date>2014-01-17T21:04:38Z</dc:date>
    </item>
    <item>
      <title>I am trying to add an SFTP</title>
      <link>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370919#M89061</link>
      <description>&lt;P&gt;I am trying to add an SFTP Repository in ISE 2.0 patch 2. &amp;nbsp;I create the repo in the GUI, then went to the CLI to add the host key. &amp;nbsp;If I use hostname or IP Address I get the same error.&lt;/P&gt;
&lt;P&gt;ISE/admin# crypto host_key add host sftp-server&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[384] [admin]: obtained ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[390] [admin]: INVOKED: releasing ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[419] [admin]: released ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[384] [admin]: obtained ssh-pubkey lock&lt;BR /&gt;%host-key add failed&lt;BR /&gt;3 [27143]:[error] config:repository: crypto_cli.c[1310] [admin]: host-key add failed&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[390] [admin]: INVOKED: releasing ssh-pubkey lock&lt;BR /&gt;7 [27143]:[debug] locks:file: lock.c[419] [admin]: released ssh-pubkey lock&lt;/P&gt;
&lt;P&gt;As well, in ISE 2.0 you cannot put the key under the repo itself, it all under exec mode.&lt;/P&gt;
&lt;P&gt;ISE/admin(config)# repository SFTP-BACKUP&lt;BR /&gt;% Warning: Host key of the server must be added using 'crypto host_key add' exec command before sftp repository can be used.&lt;BR /&gt;ISE/admin(config-Repository)# ?&lt;BR /&gt;Configure Repository:&lt;BR /&gt; do EXEC command&lt;BR /&gt; end Exit from configure mode&lt;BR /&gt; exit Exit from this submode&lt;BR /&gt; no Negate a command or set its defaults&lt;BR /&gt; url Configure Repository URL&lt;BR /&gt; user Configure repository username and password for access&lt;/P&gt;
&lt;P&gt;Time and timezone are perfect. Anyone know why it is failing? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:15:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-do-i-enable-quot-host-key-quot-for-my-sftp-server-on-ise/m-p/2370919#M89061</guid>
      <dc:creator>kylerossd</dc:creator>
      <dc:date>2016-03-03T18:15:19Z</dc:date>
    </item>
  </channel>
</rss>

