Created
May 16, 2012 11:08
-
-
Save marios-zindilis/2709571 to your computer and use it in GitHub Desktop.
Configuration of a Cisco 1841 in PacketTracer, for SSH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Continue with configuration dialog? [yes/no]: no | |
| Press RETURN to get started! | |
| Router>enable | |
| Router#configure terminal | |
| Enter configuration commands, one per line. End with CNTL/Z. | |
| Router(config)#interface fa 0/1 | |
| Router(config-if)#ip address 192.168.1.1 255.255.255.0 | |
| Router(config-if)#no shutdown | |
| %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up | |
| %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up | |
| Router(config-if)#exit | |
| Router(config)#hostname R1 | |
| R1(config)#ip domain-name example.com | |
| R1(config)#crypto key generate rsa | |
| The name for the keys will be: R1.example.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]: | |
| % Generating 512 bit RSA keys, keys will be non-exportable...[OK] | |
| R1(config)#username marios password 1234 | |
| R1(config)#line vty 0 15 | |
| R1(config-line)#transport input ssh | |
| R1(config-line)#login local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment