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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

batry_boyCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Crossroads305Author Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSH / Telnet Software

From novice to tech pro — start learning today.