How do I configure telnet and SSH access on a cisco pix 501? Also, will I have to create a Access-list to allow telnet and SSH?

How do I configure telnet and SSH access on a cisco pix 501?  Also, will I have to create an Access-list to allow telnet and SSH?  If anyone can send me a configuration example it would be great.  Thanks
LVL 1
Crossroads305Asked:
Who is Participating?
 
batry_boyConnect With a Mentor Commented:
Here is the command to implement telnet and allow it to the inside interface for any IP address in the subnet 10.1.0.0/24:

telnet 10.1.0.0 255.255.255.0 inside

If you wanted to allow it from anywhere to the inside interface (but this is extremely insecure):

telnet 0.0.0.0 0.0.0.0 inside

You cannot enable telnet to the outside interface unless it is protected by an IPSEC tunnel, so I wouldn't try to do this.

You have to generate an RSA key to use SSH, so there are some additional commands to do for it.  Here are the commands to implement SSH in the same fashion as telnet above (allowing 10.1.0.0/24 to the inside interface):

ca generate rsa key 1024
ca save all
ssh 10.1.0.0 255.255.255.0 inside

It's important to mention that you only need to issue the "ca" commands above one time.  If you later change the SSH access list to include/exclude certain IP addresses, you only have to enter the "ssh" command or the "no ssh" command to make the changes.
0
 
Crossroads305Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.