H3C S3100V2-26TP-Si 配置SSH 按照 S3100-26TP-EI 的SSH配置方法配置后无法登录设备。一下是配置命令。。
user-interface vty 0 4
acl 2999 inbound
authentication-mode scheme
user privilege level 3
protocol inbound ssh
undo set authentication password
local-user xxbadmin
password cipher XXXXXXXXX
service-type ssh
level 3
ssh user xxbadmin authentication-type password
(0)
最佳答案
(1) 配置SSH服务器
# 生成RSA密钥对。
<Switch> system-view
[Switch] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++
++++++++++++++
+++++
++++++++
# 生成DSA密钥对。
[Switch] public-key local create dsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++
# 启动SSH服务器。
[Switch] ssh server enable
# 配置VLAN接口1的IP地址,客户端将通过该地址连接SSH服务器。
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] ip address 192.168.1.40 255.255.255.0
[Switch-Vlan-interface1] quit
# 设置SSH客户端登录用户界面的认证方式为AAA认证。
[Switch] user-interface vty 0 15
[Switch-ui-vty0-15] authentication-mode scheme
# 设置Switch上远程用户登录协议为SSH。
[Switch-ui-vty0-15] protocol inbound ssh
[Switch-ui-vty0-15] quit
# 创建本地用户client001,并设置用户访问的命令级别为3。
[Switch] local-user client001
[Switch-luser-client001] password simple aabbcc
[Switch-luser-client001] service-type ssh
[Switch-luser-client001] authorization-attribute level 3
[Switch-luser-client001] quit
# 配置SSH用户client001的服务类型为Stelnet,认证方式为password认证。(此步骤可以不配置)
[Switch] ssh user client001 service-type stelnet authentication-type password
(0)
http://www.h3c.com/cn/Service/Document_Center/Switches/Catalog/S3100V2/S3100V2-SI/ 按照配置指导操作就可以了
(0)
暂无评论
H3C S3100V2-26TP-Si
ssh server enable
user-interface vty 0 4
acl 2999 inbound
authentication-mode scheme
user privilege level 3
protocol inbound ssh
undo set authentication password
local-user xxbadmin
password cipher 12345678
authorization-attribute level 3
用这个命令配置该类型交换机后,有的交换机可以SSH了。但是有的提示密码不正确。为什么???
(0)
暂无评论
配置了之后,只有很少的读权限,是什么原因呢,还是说正常就这样
<BGS_1FSYS-102231>?
User view commands:
cd Change current directory
copy Copy from one file to another
delete Delete a file
dir List files on a file system
display Display current system information
format Format the device
info-center Specify information center configuration information
mkdir Create a new directory
more Display the contents of a file
move Move the file
pwd Display current working directory
quit Exit from current command view
rename Rename a file or directory
rmdir Remove an existing directory
security-logfile Specify security log file configuration
sftp Establish one SFTP connection
undelete Recover a deleted file
<BGS_1FSYS-102231>
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论