Настройка SSH-доступа для коммутаторов компании HP
Для коммутаторов серии HP ProCurve
Генерация пары ключей для SSH (хранится во flash):
switch(config)# crypto key generate sshВключение SSH:
switch(config)# ip sshПросмотр настроек SSH и активных сессий (ssh и telnet сессии можно посмотреть выполнив команду show telnet):
switch(config)# show ip ssh
Отключение Telnet доступа
switch(config)# no telnet-server
Сохранение настроекswitch(config)# write memory
Просмотр открытого ключа коммутатора:
switch(config)# show crypto host-public-keyУдаление ключа (автоматически отключает SSH):
switch(config)# crypto key zeroize ssh
Для коммутаторов серии HP 4200
<4200G>system-view rsa local-key-pair create 1024 user-interface vty 0 4 authentication-mode scheme protocol inbound ssh local-user networkadmin password simple MySSHpassword service-type ssh quit ssh user networkadmin authentication-type password save NOTE: if you still have web access enabled for the switch,
this newly configured username and password will be able
to access the web interface!
Комментариев нет:
Отправить комментарий