- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2021 09:31 AM
Hello,
I am trying to connect to the ASAv with Ansible through ssh and i have configured the following:
crypto key generate rsa modulus 2048
username cisco password cisco privilege 15 aaa authentication ssh console LOCAL ssh version 2
But when i do the following command I can not see the management interface only the inside and outside interface that i have configured:
How could I add the management interface to connect with ssh?
Thank you.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2021 09:42 AM - edited 05-29-2021 09:45 AM
You probably don't have nameif configured under the management interface.
interface Management0/0
management-only
nameif MGMT
Which should then allow you to configure SSH access-list, referencing the management nameif.
ssh <network> 255.255.255.0 MGMT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2021 09:42 AM - edited 05-29-2021 09:45 AM
You probably don't have nameif configured under the management interface.
interface Management0/0
management-only
nameif MGMT
Which should then allow you to configure SSH access-list, referencing the management nameif.
ssh <network> 255.255.255.0 MGMT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2021 09:47 AM
Exactly. Thank you
