SSH support on routers/switches

August 3, 2008 at 4:30 pm | Posted in Blogroll | Leave a comment

The link below guides you through the process of enabling SSH server support on Cisco routers/switches, as well as set them up as a SSH client.

http://www.cisco.com/en/US/tech/tk583/tk617/technologies_tech_note09186a00800949e2.shtml

Navigating to this feature using DocCD

  • Cisco IOS Security Configuration Guide, Release 12.4
  • Part 6: Other Security Features
  • Configuring Secure Shell

SSH Client on router is enabled by default. Here’s the syntax of using SSH on an IOS router

ssh -l MyUsername 155.1.146.4

To enable SSH server, follows these steps:

! define domain, required to generate crypto key

ip domain-name rtp.cisco.com
!--- Generate an SSH key to be used with SSH.
cry key generate rsa

! optional
ip ssh time-out 60
! optional
ip ssh authentication-retries 2
line vty 0 4
!--- Prevent non-SSH Telnets.
transport input ssh

!--- Enable both SSH & Telnet access
transport input telnet ssh

Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: