Which of the following options can be used to only allow inbound SSH access to the vty lines of a router? (Choose two.)

IT Exam Items RepositoryCategory: CCNPv8 ENCORWhich of the following options can be used to only allow inbound SSH access to the vty lines of a router? (Choose two.)

Which of the following options can be used to only allow inbound SSH access to the vty lines of a router? (Choose two.)

  • line vty 0 4
    transport output ssh
  • line vty 0 4
    transport input all
  • line vty 0 4
    transport input ssh
  • ip access-list extended SSH
    permit tcp any any eq 22
    line vty 0 4
    access-class SSH in

Explanation: Using the command transport input ssh and applying an ACL to the line that only allows port 22 are valid options to allow only SSH traffic into the line. The other two options are not valid because the command transport output ssh does not affect inbound connections, and the command transport input all allows all inbound SSH and Telnet sessions.

Related exam: CCNPv8 ENCOR Chapter 26: Do I Know This Already? Quiz Answers