cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
665
Views
0
Helpful
3
Replies

SSH to ASA using Hostname

Daniel Smith
Level 1
Level 1

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?

3 Replies 3

Farrukh Haroon
VIP Alumni
VIP Alumni

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

Regards

Farrukh

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
Level 5
Level 5

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.