A network engineer is inspecting the CLI configuration of a Layer 3 switch named Site-Core-01 to ensure secure administrative access. The switch currently has a valid hostname, a configured IP domain name, and active local user accounts. The line vty configuration displays the following output:
text
Site-Core-01# show running-config | section line vty
line vty 0 15
transport input telnet
login local
Which command executed within line configuration mode will restrict remote management sessions exclusively to SSH while enforcing authentication against the local user database?
- transport input sshCevap
- Btransport input all
- Cip ssh version 2
- Dlogin authentication default
Cevap
Executing 'transport input ssh' under VTY line configuration mode restricts inbound remote access strictly to SSH sessions.
Executing the command 'transport input ssh' under the VTY line configuration mode restricts inbound remote access to encrypted SSH sessions only. Because 'login local' is already present, the device will authenticate connecting users against its local user database over SSH.
Adım Adım Çözüm
Anahtar Kavram
VTY Line Transport Input Binding and Hardening