A network administrator is troubleshooting remote access on a branch gateway router (Branch-GW). SSH version 2 has been configured, but remote management attempts over SSH fail immediately with a transport layer connection error, whereas Telnet connections are unexpectedly accepted. The administrator collects the following configuration and status outputs from the router:
text
Branch-GW# show ip ssh
SSH Enabled - version 2.0
Authentication timeout: 60 secs; Authentication retries: 3
Device Mode: SSH Server
RSA Key size: 2048 bits
Branch-GW# show running-config | section line vty
line vty 0 4
access-class MGMT-ACCESS in
login local
transport input telnet
line vty 5 15
access-class MGMT-ACCESS in
login local
transport input telnet
Which configuration change must be applied to Branch-GW to resolve the connection issue and enforce secure SSH access on all VTY lines?
- Execute transport input ssh under line vty 0 15 to allow inbound SSH sessions.Answer
- BAdd permit any to the MGMT-ACCESS access list because standard ACLs block SSH transport negotiation by default.
- CRe-execute crypto key generate rsa modulus 512 to reset the key length for SSH version 2 compatibility.
- DChange login local to login under line vty 0 15 to permit public-key authentication.