SSH Configuration on Cisco Router
---------------------------------
IP Configuration on Router:-
----------------------------
Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Remote Configuration on Router:-
--------------------------------
Router(config)#line vty 0 1
Router(config-line)#password abhishek
Router(config-line)#login local
Router(config-line)#transport input ssh
Router(config-line)#exit
Router(config)#hostname southex
southex(config)#ip domain-name delhi.com
southex(config)#crypto key generate rsa
Router(config)#enable secret abhishek
southex(config)#username abhishek password bharat
Access Router via Remote on Desktop:-
-------------------------------------
C:\>ssh -l abhishek 192.168.1.1
Password:
southex>
Thanks & Regards
Abhishek Pathak
+91-9621134014
abhishek9621134014@outlook.com
No comments:
Post a Comment