There are four steps required to enable SSH support on a Cisco IOS router:
Configure the hostname command.
Configure the DNS domain.
Generate the SSH key to be used.
Enable SSH transport support for the virtual type terminal (vty).
ON ROUTER
hostname router1
username ranjeet password ccna
ip domain-name indiancan.com
crypto key generate rsa
(Key size : 768 :ssh1.5 and ssh2)
ip ssh version 2
line vty 0 4
transport input SSH and telnet
exit
int f0/0
ip add 192.168.0.254 255.255.255.0
no shut
ON CLIENT
ssh -L ranjeet 192.168.0.254
Configure the hostname command.
Configure the DNS domain.
Generate the SSH key to be used.
Enable SSH transport support for the virtual type terminal (vty).
ON ROUTER
hostname router1
username ranjeet password ccna
ip domain-name indiancan.com
crypto key generate rsa
(Key size : 768 :ssh1.5 and ssh2)
ip ssh version 2
line vty 0 4
transport input SSH and telnet
exit
int f0/0
ip add 192.168.0.254 255.255.255.0
no shut
ON CLIENT
ssh -L ranjeet 192.168.0.254
Dear Sir, Its done.....
ReplyDeletedear sir this topic is very useful for us
ReplyDelete