mirror of
https://github.com/SantaSpeen/kkep-praktic-2022.git
synced 2025-08-17 16:46:10 +00:00
38 lines
440 B
Bash
38 lines
440 B
Bash
en
|
|
conf t
|
|
hostname <name>
|
|
en secret cisco
|
|
ip domain name <name>
|
|
|
|
line con 0
|
|
no sh
|
|
exec-timeout 0 0
|
|
password pass
|
|
login
|
|
transport input ssh
|
|
exit
|
|
|
|
line vty 0 15
|
|
no sh
|
|
exec-timeout 0 0
|
|
password cisco
|
|
login local
|
|
transport input ssh
|
|
exit
|
|
|
|
service password-encryption
|
|
banner motd <motd>
|
|
|
|
crypto key generate rsa
|
|
|
|
1024
|
|
|
|
ip ssh ver 2
|
|
username admin secret line
|
|
|
|
exit
|
|
exit
|
|
|
|
write
|
|
exit
|