<?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: SFTP transfer from Linux to ISE repository in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4392436#M566857</link>
    <description>&lt;P&gt;For this topic:&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/217054-configure-ise-sftp-with-certificate-base.html" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/217054-configure-ise-sftp-with-certificate-base.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an updated guide for anyone following:&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Apr 2021 03:05:02 GMT</pubDate>
    <dc:creator>nconroy</dc:creator>
    <dc:date>2021-04-24T03:05:02Z</dc:date>
    <item>
      <title>SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534737#M509070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have set up an sftp server on a RHEL 6 machine. The usual command at the ISE CLI of:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;copy s&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://" rel="nofollow" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;sftp server address&amp;gt;/&amp;lt;upgrade file to 2.4&amp;gt; disk:/disk2:/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;does not work and replies with the error message of:&lt;/P&gt;&lt;P&gt;[error] sftp_read Error: read failed&lt;/P&gt;&lt;P&gt;[debug] sftp parent status -306&lt;/P&gt;&lt;P&gt;[error] SFTP get error: No such file or directory (The file name was copy and pasted directly to the command line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The disk:/ repository has these characteristics:&lt;/P&gt;&lt;P&gt;Protocol: disk, Host: none, Path /&lt;/P&gt;&lt;P&gt;The disk2:/ repository has these characteristics:&lt;/P&gt;&lt;P&gt;Protocol: sftp, Host: &amp;lt;sftp server address&amp;gt;, Path /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that I have not done some preliminary steps that I find here:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Create Repositories&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;H4 class="sectiontitle tasklabel cB_Bold"&gt;Before you begin&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="p B1_Body1-F9CE5028"&gt;To perform the following task, you must be a Super Admin or System Admin. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="p"&gt;If you want to create an SFTP repository with RSA public key authentication, ensure that you:&amp;nbsp; &lt;/SPAN&gt;&lt;UL class="ul"&gt;&lt;LI class="li"&gt;&lt;SPAN class="p"&gt;Enable RSA public key authentication in the SFTP repository. See&amp;nbsp; &lt;A class="xref" href="https://www.cisco.com/c/en/us/td/docs/security/ise/2-2/admin_guide/b_ise_admin_guide_22/b_ise_admin_guide_22_chapter_01011.html#id_31832"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;Enable RSA Public Key Authentication in SFTP Repository&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp; for information.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="p"&gt;Enter the host key of the SFTP server from the Cisco ISE CLI using the&amp;nbsp; &lt;SPAN class="keyword cmdname"&gt;crypto host_key add&lt;/SPAN&gt; command. The host key string should match the hostname that you enter in the Path field of the repository configuration page.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="p"&gt;Generate the key pairs and export the public key to your local system from the GUI. From the Cisco ISE CLI, generate the key pairs using the&amp;nbsp; &lt;SPAN class="keyword cmdname"&gt;crypto key generate rsa passphrase&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;EM class="ph i"&gt;test123&lt;/EM&gt; command, where, passphrase must be greater than four letters, and export the keys to any repository (local disk or any other configured repository).&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="p"&gt;Copy the exported RSA public key to the PKI-enabled SFTP server and add it to the "authorized_keys" file." &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/ise/2-2/admin_guide/b_ise_admin_guide_22/b_ise_admin_guide_22_chapter_01011.html" title="https://www.cisco.com/c/en/us/td/docs/security/ise/2-2/admin_guide/b_ise_admin_guide_22/b_ise_admin_guide_22_chapter_01011.html"&gt;https://www.cisco.com/c/en/us/td/docs/security/ise/2-2/admin_guide/b_ise_admin_guide_22/b_ise_admin_guide_22_chapter_010…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have completed the "&lt;SPAN class="p"&gt;Enable RSA public key authentication in the SFTP repository.&lt;/SPAN&gt;", but the rest assumes that I have done this a lot. Can anyone provide an interpretation of this? A step by step procedure saying which command line is operated on (RHEL 6 vs ISE) each time would be most helpful. Cisco documentation leaves a lot to be desired here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: "&lt;SPAN class="p"&gt;Enter the host key of the SFTP server from the Cisco ISE CLI using the&amp;nbsp; &lt;SPAN class="keyword cmdname"&gt;crypto host_key add&lt;/SPAN&gt; command&lt;/SPAN&gt;" - Enter the output of this command ... (where? enter it where?) I would&amp;nbsp; prefer to just use username and password vice the full blown certificate public private method. I just want to get the file into a repository and then remove sftp from the RHEL machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:35:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534737#M509070</guid>
      <dc:creator>wsteinbr@msm.umr.edu</dc:creator>
      <dc:date>2018-06-12T20:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534738#M509072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds quite involved.&amp;nbsp; In simple terms, if you spin up an SFTP server (whether Linux or Windows based) and you can access it normally via say WinSCP or FileZilla (for the Windows folks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; then you're in good shape. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ISE the process is relatively simple.&amp;nbsp; If you want to interface with your SFTP server then you can configure one ISE node via the CLI, but then that config only lives on that node, and not replicated to the rest of the deployment.&amp;nbsp; If, on the other hand, you create the repo in the PAN GUI, then all nodes will have the repo.&amp;nbsp; BUT - you still need to issue the 'crypto' command on any of the nodes in order to finish off the process (the repo config on its own is not sufficient for sftp!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sco8834ise400/admin# &lt;STRONG&gt;configure terminal&lt;/STRONG&gt;&lt;BR /&gt;Enter configuration commands, one per line.&amp;nbsp; End with CNTL/Z.&lt;/P&gt;&lt;P&gt;sco8834ise400/admin(config)# &lt;STRONG&gt;repository mysftp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sco8834ise400/admin(config-Repository)# &lt;STRONG&gt;&lt;SPAN&gt;url s&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://10.230.4.2/ConfigBackups" rel="nofollow" target="_blank"&gt;ftp://10.230.4.2/ConfigBackups&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;% Warning: Repositories configured from CLI cannot be used from the ISE web UI and are not replicated to other ISE nodes. If this repository is not created in the ISE web UI, it will be deleted when ISE services restart.&lt;/P&gt;&lt;P&gt;sco8834ise400/admin(config-Repository)# &lt;STRONG&gt;user ise password plain mypassword&lt;/STRONG&gt;&lt;BR /&gt;sco8834ise400/admin(config-Repository)# &lt;STRONG&gt;end&lt;/STRONG&gt;&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;/P&gt;&lt;P&gt;sco8834ise400/admin# &lt;STRONG&gt;crypto host_key add host 10.230.4.2&lt;/STRONG&gt;&lt;BR /&gt;host key fingerprint added&lt;BR /&gt;# Host 10.230.4.2 found: line 1&lt;BR /&gt;10.230.4.2 RSA SHA256:iFaGR0xy3agWhimf0Lm7srByl6qG6wUz1gAza9iq6FU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test the repo with the show command&lt;/P&gt;&lt;P&gt;sco8834ise400/admin# &lt;STRONG&gt;show repository mysftp&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 22:09:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534738#M509072</guid>
      <dc:creator>Arne Bier</dc:creator>
      <dc:date>2018-06-12T22:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534739#M509074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Arne Bier - That got me much closer than before. Here are the results:&lt;/P&gt;&lt;P&gt;admin# &lt;STRONG&gt;show repository mysftp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;% SSH connect error&lt;/P&gt;&lt;P&gt;admin# &lt;STRONG&gt;ssh &lt;EM&gt;&amp;lt;host address&amp;gt; &amp;lt;user name&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Failed to establish session with &lt;EM&gt;&amp;lt;host address&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;no matching cypher found with &lt;EM&gt;&amp;lt;host address&amp;gt;&lt;/EM&gt;: client aes256-cbc,aes128-cbc,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:aes128-gcm@openssh.com"&gt;aes128-gcm@openssh.com&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:aes256-gcm@openssh.com"&gt;aes256-gcm@openssh.com&lt;/A&gt;&lt;SPAN&gt; server ,aes128-ctr,aes192-ctr,aes256-ctr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 17:31:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534739#M509074</guid>
      <dc:creator>wsteinbr@msm.umr.edu</dc:creator>
      <dc:date>2018-06-13T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534740#M509076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have access to the remote system then have a look at the cipher negotiation.&amp;nbsp; E.g on a typical Linux distro the /etc/ssh/sshd.conf contains something like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Ciphers and keying&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also inspect the sshd log file ( &lt;STRONG&gt;tail -f /var/log/messages&lt;/STRONG&gt;&amp;nbsp; ).&amp;nbsp; Below is the extract from the remote Linux host when I perform the ssh command from the ISE node.&amp;nbsp; I don't login - it's just waiting for credentials&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2018-06-14T08:16:34.873513+10:00 host123 audispd: node=host123.my.domain type=CRYPTO_SESSION msg=audit(1528928194.857:194012): pid=15624 uid=0 auid=4294967295 ses=4294967295 msg='op=start direction=from-client &lt;STRONG&gt;cipher=aes256-cbc&lt;/STRONG&gt; ksize=256 mac=hmac-sha2-512 pfs=curve25519-sha256 spid=15625 suid=74 rport=30999 laddr=10.230.4.2 lport=22&amp;nbsp; exe="/usr/sbin/sshd" hostname=? addr=10.230.4.3 terminal=? res=success'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 22:21:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534740#M509076</guid>
      <dc:creator>Arne Bier</dc:creator>
      <dc:date>2018-06-13T22:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534741#M509078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also take a look at CSCum13116&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 00:48:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534741#M509078</guid>
      <dc:creator>hslai</dc:creator>
      <dc:date>2018-06-14T00:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534742#M509080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, CSCum13116 is the real answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:34:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/3534742#M509080</guid>
      <dc:creator>RandomAnonymousName</dc:creator>
      <dc:date>2018-06-28T15:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4166814#M563310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for this detailed explanations and clarifications regarding this topic, i was searching this kind of process in order to create a repository to run backup (ise-config and ise-operational).&lt;/P&gt;&lt;P&gt;Now my repository was created successfully, but when I try to run the backup command from the cli it ask me for the encryption key :&lt;/P&gt;&lt;P&gt;"backup ise-oper repository mysftp ise-operational encryption-key "hash or plain"&lt;/P&gt;&lt;P&gt;But I have no idea where can I find this key in plain or hashe ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Belmar&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 15:27:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4166814#M563310</guid>
      <dc:creator>Bel Marsad</dc:creator>
      <dc:date>2020-10-14T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4166822#M563311</link>
      <description>&lt;P&gt;That would be the password you want to use for the backup.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 15:53:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4166822#M563311</guid>
      <dc:creator>Aref Alsouqi</dc:creator>
      <dc:date>2020-10-14T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4167224#M563326</link>
      <description>&lt;P&gt;Thanks for your answer and clarification..&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 05:55:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4167224#M563326</guid>
      <dc:creator>Bel Marsad</dc:creator>
      <dc:date>2020-10-15T05:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP transfer from Linux to ISE repository</title>
      <link>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4392436#M566857</link>
      <description>&lt;P&gt;For this topic:&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/217054-configure-ise-sftp-with-certificate-base.html" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/217054-configure-ise-sftp-with-certificate-base.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an updated guide for anyone following:&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 03:05:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sftp-transfer-from-linux-to-ise-repository/m-p/4392436#M566857</guid>
      <dc:creator>nconroy</dc:creator>
      <dc:date>2021-04-24T03:05:02Z</dc:date>
    </item>
  </channel>
</rss>

