If you have a Cisco device you’re wanting to get SSH access to, you can’t just SSH into the box right from the get go.
There are a couple things to do first:
- Add an IP Address to an Interface (from config mode)
12interface GigabitEthernet0/0/0/0ipv4 address 172.16.184.11 255.255.255.0
- Enable SSH (from config mode)
1ssh server v2
- Create a DSA key (from admin mode, not config mode)
1crypto key generate dsa