Router>enable
Router#configure terminal
Router(config)#hostname jodhpur
Enter configuration commands, one per line. End with CNTL/Z.
jodhpur(config)#interface FastEthernet0/0
jodhpur(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
jodhpur(config-if)#ip address 192.168.1.1 255.255.255.0
jodhpur(config)#ip domain-name cdac.com
jodhpur(config)#username anil password 123
Router(config)#crypto key generate rsa
jodhpur(config)#crypto key generate rsa
The name for the keys will be: jodhpur.cdac.com
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
jodhpur(config)#
*Mar 1 0:55:0.75: %SSH-5-ENABLED: SSH 1.99 has been enabled
jodhpur(config)#line vty 0 4
jodhpur(config-line)#transport input ssh
jodhpur(config-line)#password anil
jodhpur(config-line)#login
jodhpur(config-line)#
Router#configure terminal
Router(config)#hostname jodhpur
Enter configuration commands, one per line. End with CNTL/Z.
jodhpur(config)#interface FastEthernet0/0
jodhpur(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
jodhpur(config-if)#ip address 192.168.1.1 255.255.255.0
jodhpur(config)#ip domain-name cdac.com
jodhpur(config)#username anil password 123
Router(config)#crypto key generate rsa
jodhpur(config)#crypto key generate rsa
The name for the keys will be: jodhpur.cdac.com
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
jodhpur(config)#
*Mar 1 0:55:0.75: %SSH-5-ENABLED: SSH 1.99 has been enabled
jodhpur(config)#line vty 0 4
jodhpur(config-line)#transport input ssh
jodhpur(config-line)#password anil
jodhpur(config-line)#login
jodhpur(config-line)#
No comments:
Post a Comment