Enable SSH login on all network devices
This commit is contained in:
parent
ff5094aada
commit
da07b12c29
2 changed files with 43 additions and 2 deletions
BIN
Networks/Main.pkt
(Stored with Git LFS)
BIN
Networks/Main.pkt
(Stored with Git LFS)
Binary file not shown.
|
@ -92,3 +92,44 @@ exit
|
|||
disable
|
||||
exit
|
||||
```
|
||||
|
||||
## Enable SSH Root Access
|
||||
On all devices:
|
||||
```sh
|
||||
enable
|
||||
configure terminal
|
||||
|
||||
username moucha privilege 15 secret cisco
|
||||
ip domain-name moucha.org
|
||||
|
||||
line vty 0 15
|
||||
transport input ssh
|
||||
login local
|
||||
|
||||
exit
|
||||
exit
|
||||
disable
|
||||
exit
|
||||
```
|
||||
|
||||
On Switches:
|
||||
```sh
|
||||
enable
|
||||
configure terminal
|
||||
crypto key generate rsa general-keys modulus 4096
|
||||
exit
|
||||
exit
|
||||
disable
|
||||
exit
|
||||
```
|
||||
|
||||
On Routers:
|
||||
```sh
|
||||
enable
|
||||
configure terminal
|
||||
crypto key generate rsa general-keys modulus 2048
|
||||
exit
|
||||
exit
|
||||
disable
|
||||
exit
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue