Разлика между версии на „Конфигуриране на SSH сървър при Cisco IOS“

от БАРЗИКТ Wiki
Направо към: навигация, търсене
(Конфигурационни команди)
Ред 6: Ред 6:
 
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap; word-wrap: break-word">
 
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap; word-wrap: break-word">
 
Router> enable
 
Router> enable
Router# configure termninal
+
Router# configure terminal
 
Router(config)# hostname R1
 
Router(config)# hostname R1
 
R1(config)# ip domain-name test.com
 
R1(config)# ip domain-name test.com

Версия от 16:45, 21 март 2015

Configuring Secure Shell on Routers and Switches Running Cisco IOS

PC Router SSH.png

Конфигурационни команди

Router> enable
Router# configure terminal
Router(config)# hostname R1
R1(config)# ip domain-name test.com
R1(config)# ip ssh version 2
R1(config)# crypto key generate rsa
R1(config)# username admin secret cisco
R1(config)# line vty 0 15
R1(config-line)# login local
R1(config-line)# transport input ssh
R1(config-line)# end