Here is how to configure SSH on Cisco Routers and Switches
** Make sure you are using k9(crypto) image in order to support SSH connection
router# conf t
router(config)# aaa new-model
router(config)# username cisco password 0 ipbalance
router(config)# hostname Cisco_SSH
Cisco_SSH(config)# ip domain-name Cisco-lab.ipblance.com
Cisco_SSH(config)# crypto key generate rsa
Cisco_SSH(config)# ip ssh time-out 60
Cisco_SSH(config)# ip ssh authenticate-retries 5
Cisco_SSH(config)# ip ssh version 2 ; Option to use version 2
Cisco_SSH(config)#
Cisco_SSH(config)# access-list 50 permit 10.10.10.0 0.0.0.0.255 ; To limit access
Cisco_SSH(config)#
Cisco_SSH(config)# line vty 0 4
Cisco_SSH(config)# transport input ssh ; To allow SSH only
Cisco_SSH(config)# access-class 50 in
Cisco_SSH(config)#
View & Debugging commands
show ip ssh
show ssh
debug ip ssh
| < Prev | Next > |
|---|
Last Updated (Sunday, 20 May 2012 12:07)
- What is SYS-ID-EXT parameter in Spanning-tree?
- Cisco Trunking Configuration Basic
- [Cisco] Port mirroring sample config
- [Cisco] MLPPP sample configuration
- IP addressing ending .0 or .255
- How to use IP helper-address to connect remote DHCP server
- What is FIB(Forwarding Information Base)?
- [Cisco] How to limit a rate on interface ?
- How to hide an access-list applied?
- Configuring Web Authentication page on Cisco WLC 526
- Cisco Wireless 521 Access Point configuration for open event
- [Cisco]What is error for 'input packets with dribble condition detected'
- [log] :Problem with RX packet, length is 1, what is it?
- How to Cisco Banner in other language(8bit)
- How to recognize Cisco IOS image file ?
- [Cisco] How to enable Log and logging buffer
- [Cisco] Access Server setup for the LAB(CCIE)
- [Cisco] How to setup router as a tftp server
- [Cisco] How to power off slot on Cisco GSR 12000 series
- [Cisco] How to Secret Password Recovery - Router
- [Cisco] Password recovery - Router
- [Cisco] High Process CPU time on Cisco router
- [Cisco] How to Check CEF (Cisco Express Forwarding)
- [Cisco] Error message 'disabled analyzed idbs-rem' on Cisco 7000
- [Cisco] Options and functions that are available from the CLI
- How to configure LLDP on Cisco switch for Nortel IP Phone
- How to upgrade firmware for Enterasys switches
- FCS errors on Overture Networks ISG by misconfig
- Internet Speed Issue - Bandwidth VS. Throughput
- Easily track SNMP MIB-II from your desktop using dVUE5X
- BGP error with "by remote host, open active delayed 27076ms (35000ms max, 28% jitter)"
- BGP Best Path Selection - Cisco
- BGP Best Path Selection - Juniper
- How to Applying BGP Community string with sample configuration
- Cisco BGP log Changes in Neighbor Status
- How to setup NTP on Cisco router with summer-time zone
- Cisco BGP Configuration by topology
- Three way to filter routes in BGP
- Issue on Cisco GigE port with FastEthernet port on 3Com switches
- [Enterasys] How to configure Syslog server
- How to install splunk on OpenSuSE 11.x
- How to configure Pix 515 for connecting PDM
- How to read Cisco FastEthernet Interface status
- Howto shut down system using CMD(command)
- How to setup basic Java development environment
- Cisco loop testing must be done by Encapsulation HDLC
- How to configure Overture 5100 carrier Ethernet switch
- How to configure BGP for Nortel/Tasman router
- How to configure BGP for diverse service on Tasman router
- How to configure As-path-access-list 101
- How to fix Google pagerank info is not available on Firefox
- Avoiding arthritis by using Cisco IOS Alias commands
- How to install Joomla 1.5 on CentoOS 5
- How to upgrade Free ESXi 3.5 to ESXi 4.0
- How to configure BGP peer-session template
- Light level information for Cisco 12000 SONET modules
- How to configure IRB(Integrated Routing and Bridging)
- How to copy a layout of the map Network Topology on Ciscoworks LMS
- How to add DHCP scope option on Window Server for Nortel IP phones
- How to setup DHCP Window server for LG/Nortel IP phones
- How to change window resolution on VirtualBox
- How to convert a virtual appliance to ESXi 4.0
- Cisco 3750 Stack Configuration
- Cisco Catalyst Switch Secure Configuration Template
- Cisco Multicast Troubleshooting Tips
- How to access sharing windows folders from Mint linux on VirtualBox
- Cisco IOS Feature Support by Package
- When you get %Error opening tftp://255.255.255.255/~
- Cisco Catalyst 6500 troubleshooting - 720(Cold) why?
- When Cisco IOS upgrading, get !OOOO!OOOO!
- Can I change SFP uplink speed on Catalyst 3750?
- Why WinSCP is getting an error to Cisco devices?
- DHCP Troubleshooting Tips
- Programming Experts
- Aaron's Worthles words
- Etherealmind
- CCIE Journey
- Cisco Tips
- CCIE Quest
- CCIE Pursuit Blog
- Cisco Mars Blog
- Cisco NAC Blog
- Cisco Security Center
- Cisco IOS Hints and Tricks
- Global Config
- Internetwork Experts
- Internetnetwork Expert's online community
- Internetnetwork Expert's blog
- internetworkexpert.org
- IPexpert
- IPexpert's Blog
- Roger's CCIE Blog
- Mr.Configure
- Packetlife.net
- Should have gone with Cisco
- Terry's Blog
- The CCIE Journey
- Write mem



