2

华三交换机配置SSH远程登录

 2 years ago
source link: https://blog.51cto.com/u_14122562/5409657
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

华三交换机配置SSH远程登录

原创

康康的Babi 2022-06-22 22:12:46 博主文章分类:网络 ©著作权

文章标签 ssh 远程管理 aaa 文章分类 网络管理 网络/安全 阅读数228

华三交换机配置SSH远程登录_aaa
  1. ​桥接本地主机的回环网卡(192.168.192.1/24);
  2. 将H3C S5820V2-54QS-GE的GE1/0/48接口模式改成路由模式;
  3. 配置地址192.168.192.10/24并测试连通性。
华三交换机配置SSH远程登录_远程管理_02
  1. ​创建远程账户test密码test@123角色为manage;
  2. 授权用户角色为缺省的network-operator;
  3. 授权用户级别为15级;
  4. 配置虚拟线路0 到 4
  5. 认证模式为aaa;
  6. 认证协议入方向为ssh;
  7. 开启ssh 服务。
[H3C]local-user test class manage

[H3C-luser-manage-test]password

Password:test@123

Confirm:test@123

[H3C-luser-manage-test]authorization-attribute user-role network-operator

[H3C-luser-manage-test]authorization-attribute user-role level-15

[H3C-luser-manage-test]service-type ssh terminal

[H3C]user-interface vty 0 4

[H3C-line-vty0-4]authentication-mode scheme

[H3C-line-vty0-4]protocol inbound ssh

[H3C]ssh server enable

return

save

用crt验证ssh登录

华三交换机配置SSH远程登录_ssh_03
华三交换机配置SSH远程登录_aaa_04
  • 从上图可以看到交换机显示是192.168.192.1用ssh的方式登陆成功,并且在crt上可以看到交换机的接口地址正式我们所远程的地址。
  • 收藏
  • 评论
  • 分享
  • 举报

上一篇:静态路由


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK