Telnet & SSH Login

Unanswered Question
Aug 24th, 2009
User Badges:

How to configure a router using ACL # 99 to allow remote telnet & ssh with password of "cisco" from subnet

A router (r1) has a trunk connection to switch (s1).

You have two subnets; users and admins

What would be the syntax commands to do this, as I do not know for sure if this is correct:

(config)# access-list 99 permit

(config)# access-list 99 deny any

(config)# line vty 0 4

(config-line)# access-class 1 in

(config-line)# end

thank you!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
John Blakley Mon, 08/24/2009 - 09:56
User Badges:
  • Purple, 4500 points or more


For SSH, you would need a domain name configured on the router or switch, host name, and a ssl keys generated. For telnet, the config looks right, but your access-class would reference 99.

line vty 0 4

access-class 99 in

To generate your ssl keys:

crypto key generate rsa general mod 1024



pompeychimes Mon, 08/24/2009 - 18:53
User Badges:
  • Bronze, 100 points or more

Don't forget to give the man a rating.


This Discussion