<?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: SSH access list and hostname in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/ssh-access-list-and-hostname/m-p/1658960#M558584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "host name" mentioned in the "ssh ?" output, is basically a name-to-ip mapping that can be defined on the ASA.&lt;/P&gt;&lt;P&gt;It does resolve the names in ping, but that dynamic resolution doesn't work for all features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can configure something like:&lt;/P&gt;&lt;P&gt;names&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (to enable names)&lt;/P&gt;&lt;P&gt;name 192.168.1.10 office_pc&lt;/P&gt;&lt;P&gt;name 62.62.62.62 home_pc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ssh office_pc 255.255.255.255 inside&lt;/P&gt;&lt;P&gt;ssh home_pc 255.255.255.255 outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However you wouldn't be able to configure ssh for the DDNS name that you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest having ssh open for the full subnet within which you get the DHCP ip, and use a strong cryptic password for ssh login.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Shrikant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Please mark the question resolved, if it has been answered. Do rate helpful posts. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 22:17:42 GMT</pubDate>
    <dc:creator>Shrikant Sundaresh</dc:creator>
    <dc:date>2011-04-04T22:17:42Z</dc:date>
    <item>
      <title>SSH access list and hostname</title>
      <link>https://community.cisco.com/t5/network-security/ssh-access-list-and-hostname/m-p/1658959#M558580</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something daft/misunderstanding here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuring a Cisco ASA 5505 from the CLI. "ssh ?" shows:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;hostname or A.B.C.D&amp;nbsp;&amp;nbsp;&amp;nbsp; The IP addres of the host and/or network authorized to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; login to the system&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Yet when I enter a hostname I get "Invalid hostname". It isn't invalid! If I do ping &amp;lt;hostname&amp;gt; as the next command it resolves it fine.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Basically I want to do is allow access from home where I have a dynamic IP and have a DynDNS account set up to update a hostname with the current IP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shell&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 20:16:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ssh-access-list-and-hostname/m-p/1658959#M558580</guid>
      <dc:creator>shell_uk_</dc:creator>
      <dc:date>2019-03-11T20:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: SSH access list and hostname</title>
      <link>https://community.cisco.com/t5/network-security/ssh-access-list-and-hostname/m-p/1658960#M558584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "host name" mentioned in the "ssh ?" output, is basically a name-to-ip mapping that can be defined on the ASA.&lt;/P&gt;&lt;P&gt;It does resolve the names in ping, but that dynamic resolution doesn't work for all features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can configure something like:&lt;/P&gt;&lt;P&gt;names&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (to enable names)&lt;/P&gt;&lt;P&gt;name 192.168.1.10 office_pc&lt;/P&gt;&lt;P&gt;name 62.62.62.62 home_pc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ssh office_pc 255.255.255.255 inside&lt;/P&gt;&lt;P&gt;ssh home_pc 255.255.255.255 outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However you wouldn't be able to configure ssh for the DDNS name that you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest having ssh open for the full subnet within which you get the DHCP ip, and use a strong cryptic password for ssh login.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Shrikant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Please mark the question resolved, if it has been answered. Do rate helpful posts. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 22:17:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ssh-access-list-and-hostname/m-p/1658960#M558584</guid>
      <dc:creator>Shrikant Sundaresh</dc:creator>
      <dc:date>2011-04-04T22:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSH access list and hostname</title>
      <link>https://community.cisco.com/t5/network-security/ssh-access-list-and-hostname/m-p/1658961#M558587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shrikant. I'll have a think how I want to go about it then. Public IP range is huge, massive ISP! Would be a waste of time even restricting it lol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 08:23:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ssh-access-list-and-hostname/m-p/1658961#M558587</guid>
      <dc:creator>shell_uk_</dc:creator>
      <dc:date>2011-04-05T08:23:47Z</dc:date>
    </item>
  </channel>
</rss>

