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

от БАРЗИКТ Wiki
Направо към: навигация, търсене
Ред 4: Ред 4:
  
 
==Конфигурационни команди==
 
==Конфигурационни команди==
Router> '''enable'''
+
<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# '''configure termninal'''
+
Router> enable
Router(config)# '''hostname R1'''
+
Router# configure termninal
 +
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
 +
</pre>

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

Configuring Secure Shell on Routers and Switches Running Cisco IOS

PC Router SSH.png

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

Router> enable
Router# configure termninal
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