<?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: Unable to SSH to FMC after enter some command line in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230259#M1117858</link>
    <description>&lt;P&gt;So even after entering usermod --shell /usr/bin/clish admin you are unable to SSH to the FMC?&amp;nbsp; have you tried using sudo usermod --shell /usr/bin/clish admin ?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2024 22:32:18 GMT</pubDate>
    <dc:creator>Marius Gunnerud</dc:creator>
    <dc:date>2024-11-28T22:32:18Z</dc:date>
    <item>
      <title>Unable to SSH to FMC after enter some command line</title>
      <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230207#M1117855</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I no longer SSH to FMC after enter command line below:&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;In FMC 6.4 and above, SCP to the FMC is not possible directly. For that, the following is needed(the below is intended for user: admin):
root@FMC:/Volume/home/admin# usermod --shell /bin/bash admin

After this SCP to the FMC will work. Once done, please remeber to rollback(prior to closing the session) else admin login can have issues:

root@FMC:/Volume/home/admin# usermod --shell /usr/bin/clish admin&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Can someone help?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 17:35:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230207#M1117855</guid>
      <dc:creator>tiangeng-li</dc:creator>
      <dc:date>2024-11-28T17:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to SSH to FMC after enter some command line</title>
      <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230259#M1117858</link>
      <description>&lt;P&gt;So even after entering usermod --shell /usr/bin/clish admin you are unable to SSH to the FMC?&amp;nbsp; have you tried using sudo usermod --shell /usr/bin/clish admin ?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 22:32:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230259#M1117858</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2024-11-28T22:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to SSH to FMC after enter some command line</title>
      <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230324#M1117863</link>
      <description>&lt;P&gt;Yes, I did. unfortunately, I am not able to SSH anymore, is there any work around?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 01:14:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230324#M1117863</guid>
      <dc:creator>tiangeng-li</dc:creator>
      <dc:date>2024-11-29T01:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to SSH to FMC after enter some command line</title>
      <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230347#M1117867</link>
      <description>&lt;P&gt;If it is an FMCv, you can use the console connection from the hypervisor to revert the change. If it is a physical appliance, the console can be accessed either via direct physical keyboard and monitor connection or via the CIMC interface.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 02:51:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230347#M1117867</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2024-11-29T02:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to SSH to FMC after enter some command line</title>
      <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230348#M1117868</link>
      <description>&lt;P&gt;thanks, correct me if I am wrong, I can still access FMC by connecting console port from my laptop, normal I just use Putty to console in the FMC, I should be able to enter admin and password. what's the next step, how to make SSH works again?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 03:13:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230348#M1117868</guid>
      <dc:creator>tiangeng-li</dc:creator>
      <dc:date>2024-11-29T03:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to SSH to FMC after enter some command line</title>
      <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230359#M1117869</link>
      <description>&lt;P&gt;To change back to the default FMC shell:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#chsh
select "/usr/bin/clish"&lt;/LI-CODE&gt;
&lt;P&gt;"clish" (command-line interface shell) is the factory default.&lt;/P&gt;
&lt;P&gt;Also, generally it is not necessary to use scp to upload files from FMC. Instead, simply place them /var/common and then they can be uploaded using the FMC GUI.&lt;/P&gt;
&lt;P&gt;Small files can be downloaded onto FMC by using the Unix "cat" command. Go into expert mode, switch to root user and change directory into the desired folder. The simply "cat &amp;gt; newfile" (substitute the actual file name for "newfile"). Paste in the file text and then a block line, use Ctrl-C to exit. The newfile will then be in the current directory. chmod as necessary if, for example, you need to make it executable.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 05:22:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5230359#M1117869</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2024-11-29T05:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to SSH to FMC after enter some command line</title>
      <link>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5231089#M1117909</link>
      <description>&lt;P&gt;thanks, that helps a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 01:25:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/unable-to-ssh-to-fmc-after-enter-some-command-line/m-p/5231089#M1117909</guid>
      <dc:creator>tiangeng-li</dc:creator>
      <dc:date>2024-12-02T01:25:18Z</dc:date>
    </item>
  </channel>
</rss>

