SSH to ASA using Hostname

Unanswered Question
Aug 16th, 2008

I would like to use a host name associated with the enabling of SSH on the outside interface of an ASA5505. The command syntax makes you think it is possible:

xxxxxx-fw1(config)# ssh ?

configure mode commands/options:

Hostname or A.B.C.D The IP address of the host and/or network authorized to

login to the system

The firewall can both resolve and ping the name that I want to use, but when I enter the 'ssh <chosen host name>', I get an error message. Is there some other command needed, or am I missing something here?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Farrukh Haroon Sat, 08/16/2008 - 23:06

You can add the hostname first using the 'name' command and then put it in the SSH command. To make the configuration more 'readable'.



dasmith Sun, 08/17/2008 - 05:09

Thanks for the reply. I had thought of that approach, but my intent is to provide support to a 5505 via my home broadband connection which can periodically change IP address. I have dynamic dns set up here at home, so I thought that the 'ssh hostname' would work to support that scenario.

Tshi M Sun, 08/17/2008 - 15:48

You mentioned that you get an "error message". What is the error message? You might have to register your outside address as well so it can be reached via Internet.


This Discussion