Разлика между версии на „Конфигуриране на SSH сървър при Cisco IOS“
от БАРЗИКТ Wiki
| Ред 4: | Ред 4: | ||
==Конфигурационни команди== | ==Конфигурационни команди== | ||
| − | Router> | + | <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# | + | Router> enable |
| − | Router(config)# | + | 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> | ||
Версия от 15:42, 21 март 2015
Configuring Secure Shell on Routers and Switches Running Cisco IOS
Конфигурационни команди
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
