学一点记一点---h3c交换机配置ssh

华三交换机不同系统版本配置ssh的命令有点区别!

查看版本

【h3c】dis version

version 3.10------V3版本

version 5.xx------V5版本

version 7.xx------V7版本

V3版本

local-user h3c

  password cipher h3c@123456

  service-type ssh 

  level 3

  quit

public-key local create rsa

ssh user h3c service-type stelnet  authentication-type password

user-interface vty 0 4

  authentication-mode scheme

  user privilege level 3

  protocol inbound ssh 

  quit

V5版本

local-user h3c

  password cipher h3c@123456

  service-type ssh 

  authorization-attribute level 3

  quit

public-key local create rsa

ssh server enable

ssh user h3c service-type stelnet  authentication-type password

user-interface vty 0 4

  authentication-mode scheme

  user privilege level 3

  protocol inbound ssh 

  quit

V7版本

local-user h3c

  password simple h3c@123456

  service-type ssh 

  authorization-attribute user-role network-admin

  quit

public-key local create rsa

ssh server enable

ssh user h3c service-type stelnet  authentication-type password

line vty 0 4

  authentication-mode scheme

  user-role network-admin

  protocol inbound ssh 

  quit

 

  

 

你可能感兴趣的:(学一点记一点---h3c交换机配置ssh)