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?

Posted on 2008-11-09
Last Modified: 2012-08-14
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
Question by:Crossroads305
    LVL 28

    Accepted Solution

    Here is the command to implement telnet and allow it to the inside interface for any IP address in the subnet

    telnet inside

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

    telnet 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 to the inside interface):

    ca generate rsa key 1024
    ca save all
    ssh 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.
    LVL 1

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
    Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
    Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now