<?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: Cisco FMC &amp;amp; WinSCP in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4796687#M1098769</link>
    <description>&lt;P&gt;I am trying to upload a script to FTD preferrably through FMC, how do I do that? My Import/export option is only Package then it says unkown package file type. I am trying to upload a bash script.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 16:38:59 GMT</pubDate>
    <dc:creator>CiscoBrownBelt</dc:creator>
    <dc:date>2023-03-17T16:38:59Z</dc:date>
    <item>
      <title>Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4289637#M1078374</link>
      <description>&lt;P&gt;I have connected WinSCP in a previous version of firepower.&amp;nbsp; The version 6.6.1 I am trying to connnect to using WinSCP says i'm authenticating but it won't connect. Is anyone using WinSCP anymore or is there something better that can be used???&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 19:57:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4289637#M1078374</guid>
      <dc:creator>keithcclark71</dc:creator>
      <dc:date>2021-02-10T19:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4289658#M1078376</link>
      <description>&lt;P&gt;Hi Keith, it should work, have you tried to update winscp ?&lt;/P&gt;
&lt;P&gt;you can also cretaed a user on root mode to transfer and get files using scp:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;useradd &amp;lt;user&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passwd &amp;lt;user&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;then you can use the user for scp transfers&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 20:36:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4289658#M1078376</guid>
      <dc:creator>eruizrub</dc:creator>
      <dc:date>2021-02-10T20:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4289977#M1078393</link>
      <description>&lt;P&gt;The problem is that Cisco introduced SFCLI to FMC, which does not support directory listing by default. Therefore it is not possible to transfer files to FMC without adding a user and setting its shell to /bin/bash or bin/sh, which is kinda awkward as a workaround but then again it works. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/510954"&gt;@OP&lt;/a&gt;&amp;nbsp; you need to do the following&lt;/P&gt;&lt;P&gt;1. SSH to FMC&lt;/P&gt;&lt;P&gt;2. Change to Bash&lt;/P&gt;&lt;PRE&gt;&amp;gt; expert&lt;/PRE&gt;&lt;P&gt;3. Change to root user&lt;/P&gt;&lt;PRE&gt;sudo su -&lt;/PRE&gt;&lt;P&gt;4. Add a new user that you can use for file transfer&lt;/P&gt;&lt;PRE&gt;useradd scpuser&lt;/PRE&gt;&lt;P&gt;5. Set password for scpuser&lt;/P&gt;&lt;PRE&gt;passwd scpuser&lt;/PRE&gt;&lt;P&gt;6. Set shell for scpuser&lt;/P&gt;&lt;PRE&gt;chsh --shell /bin/sh scpuser&lt;/PRE&gt;&lt;P&gt;7. Retry scp to FMC&lt;/P&gt;&lt;PRE&gt;&amp;gt; scp test.txt scpuser@fmc01.example.com:~/
Password: 
test.txt                                                                                                             100%    0     0.0KB/s   00:00    &lt;/PRE&gt;&lt;P&gt;8. Navigate to /Volume/home/scpuser - you'll find the transfered file in the users home directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 10:24:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4289977#M1078393</guid>
      <dc:creator>Oliver Kaiser</dc:creator>
      <dc:date>2021-02-11T10:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4294053#M1078600</link>
      <description>&lt;P&gt;thanks Oliver Ill give it a try&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 23:38:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4294053#M1078600</guid>
      <dc:creator>keithcclark71</dc:creator>
      <dc:date>2021-02-18T23:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4554257#M1087525</link>
      <description>&lt;P&gt;Hi Oliver,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible to transfer Files from FMC to expertnal scp/ftp Server. i need to download some files from fmc, but fmc act as client and not like server. This is error that i get:&lt;/P&gt;&lt;P&gt;root@firepower:/var/common# scp results-02-17-2022--72526.tar.gz dafmc1812@xxxxxxxxxxx:/ftp&lt;BR /&gt;dafmc1812@xxxxxxxxx's password:&lt;BR /&gt;This service allows sftp connections only.&lt;BR /&gt;&lt;A href="mailto:root@firepower:/var/common" target="_blank"&gt;root@firepower:/var/common#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Yordan&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 11:01:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4554257#M1087525</guid>
      <dc:creator>Yordan1</dc:creator>
      <dc:date>2022-02-17T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4554396#M1087527</link>
      <description>&lt;P&gt;FMC allows you to download files from var/common via its web UI.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://&amp;lt;fmc" target="_blank"&gt;https://&amp;lt;fmc&lt;/A&gt; address&amp;gt;/ddd/#ATFileDownload;deviceId=0&lt;/P&gt;
&lt;P&gt;You can also navigate there via System &amp;gt; Health Monitor &amp;gt; select the FMC &amp;gt; Advanced Troubleshooting tools&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 15:10:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4554396#M1087527</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2022-02-17T15:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4632562#M1090964</link>
      <description>&lt;P&gt;Oliver I don't know if you are still on the boards here but your procedure just worked for me in getting WINSCP connected to FMC 6.6.5.&amp;nbsp; I could not get it working when I initially opened this post but 2 years later I just got it working in a new deployment.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 18:35:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4632562#M1090964</guid>
      <dc:creator>keithcclark71</dc:creator>
      <dc:date>2022-06-15T18:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4796687#M1098769</link>
      <description>&lt;P&gt;I am trying to upload a script to FTD preferrably through FMC, how do I do that? My Import/export option is only Package then it says unkown package file type. I am trying to upload a bash script.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 16:38:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4796687#M1098769</guid>
      <dc:creator>CiscoBrownBelt</dc:creator>
      <dc:date>2023-03-17T16:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco FMC &amp; WinSCP</title>
      <link>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4796770#M1098771</link>
      <description>&lt;P&gt;To copy a non-package (upgrade, VDB&amp;nbsp; etc.) to the system you need to use something like scp from the cli as mentioned in this thread. Or if it's a small text file like a script you could even just paste the contents into a new file using vi - all from the expert cli as root user. There you basically have a purpose-built Linux OS to work with.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note&lt;/U&gt;&lt;/STRONG&gt; - do be careful not to change or remove any system files. That could leave your system in a corrupted and unrecoverable state!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 19:22:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-fmc-amp-winscp/m-p/4796770#M1098771</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2023-03-17T19:22:56Z</dc:date>
    </item>
  </channel>
</rss>

