❶ 华为交换机s2700 创建管理员用户、密码,用什么命令
以telnet为例
telnet用户名密码登入
[Huawei] aaa
[Huawei-aaa] local-user huawei password cipher hello 这一步就是创建用户名:huawei和密码hello
[Huawei-aaa] local-user huawei service-type telnet 将这用户名密码应该在telnet登入上
[Huawei-aaa] local-user huawei level 3
[Huawei-aaa] quit
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode aaa
❷ 华为及H3C设备 SSH配置命令
cisco.&.h3c交换机配置与管理完全手册
你去网店去看看,这本书的目录,如果确认需要,我可以发给你这本书的扫描件,电子版。只是有点大,1g多点。
其他的,也就是全系列手册,思科、华为、h3c我有近100g,你想我怎么传给你。
❸ 华为ssh配置怎么登陆
【配置思路】1.在本地的SSH服务端生成本地需要的密钥对,2.SSH服务端配置用户的账号、密码、权限、3.做通用户和SSH服务端的通信。
【设备型号】华为switch-S5700s
————1:
[SW1] rsa local-key-pair create #创建本地密钥对
The key name will be: SW1_Host
The range of public key size is (512 ~ 2048).
NOTES: If the key molus is greater than 512,
It will take a few minutes.
Input the bits in the molus[default = 512]:1024
Generating keys...
.................++++++++++++
......................++++++++++++
..............++++++++
.........++++++++
————2:配置VTY用户,只能用SSH进入
[sw1]user-interface vty 0 4
[sw1-ui-vty0-4]authentication-mode aaa
[sw1-ui-vty0-4]protocol inbound ssh
—————3:创建SSH用户及密码
#aaa
#local-user NAME password cipher 123456
#local-user NAME privilege level 3
#local-user NAME service-type ssh
—————4.配置ssh用户的认证方式和服务方式
[huawei] ssh user NAME authentication-type password
[huawei] ssh user NAME service-type {sftp | stelnet | all }
[huawei] stelnet server enable #打开ssh服务
❹ 如何利用华为交换机配置SSH登录
配置思路
采用如下的思路配置用户通过
STelnet
登录系统:
1.
配置
SSH
服务器管理网口的
IP
地址。
2.
在
SSH
服务器端生成本地密钥对,实现在服务器端和客户端进行安全地数据交互。
3.
配置
SSH
服务器端的
VTY
用户界面。
4.
配置
SSH
用户,包括认证方式,用户名和密码。
5.
在
SSH
服务器端使能
STelnet
服务器功能以及配置用户的服务类型。
数据准备
为完成此配置例,需准备如下的数据:
lSSH
服务器管理网口的
IP
地址。
lSSH
用户的认证方式为
password
,用户名为“
client001
”
,密码为“
huawei
”
。
lclient001
的用户级别为
3
。
lSSH
服务器端的
IP
地址为
10.137.217.223
。
操作步骤
步骤
1
配置登录地址
<HUAWEI>system-view
[~HUAWEI]sysnameSSHServer
[~HUAWEI]commit
[~SSHServer]interfacegigabitethernet0/0/0
[~SSHServer-GigabitEthernet0/0/0]undoshutdown
[~SSHServer-GigabitEthernet0/0/0]ipaddress10.137.217.225255.255.0.0
[~SSHServer-GigabitEthernet0/0/0]commit
[~SSHServer-GigabitEthernet0/0/0]quit
步骤
2
在服务器端生成本地密钥对
[~SSHServer]rsalocal-key-paircreate
Thekeynamewillbe:SSHServer_Host
Therangeofpublickeysizeis(512~2048).
NOTE:Ifthekeymolusisgreaterthan512,
Itwilltakeafewminutes.
Inputthebitsinthemolus[default=512]:
输入
1000,
注意该值需要大于
768
,
否则用
ssh
登录时会出现下面的错误,
但是指导书中没写
明白。
步骤
3
在服务器端配置
VTY
用户界面
[~SSHServer]user-interfacevty04
[~SSHServer-ui-vty0-4]authentication-modeaaa
[~SSHServer-ui-vty0-4]protocolinboundssh
[~SSHServer-ui-vty0-4]commit
VRP
[~SSHServer-ui-vty0-4]quit
说明
若配置登录协议为
SSH
,则
VRP
设备将自动禁止
Telnet
功能。
步骤
4
在服务器端配置
SSH
用户的用户名和密码
[~SSHServer]aaa
[~SSHServer-aaa]local-
[~SSHServer-aaa]local-userclient001level3
[~SSHServer-aaa]local-userclient001service-typessh
[~SSHServer-aaa]commit
[~SSHServer-aaa]quit
步骤
5
使能
STelent
功能,并配置用户的服务类型为
STelnet
[~SSHServer]stelnetserverenable
[~SSHServer]sshauthentication-typedefaultpassword
[~SSHServer]commit
❺ 华为核心S7706把Telnet关闭开启SSH怎么做求命令讲解,谢谢!
SECURECRT登录进去后
< HUAWEI-2F>敲 sys
进入 system view
关闭Telnet
[HUAWEI-2F]undo telnet server enable
[HUAWEI-2F]quit
< HUAWEI-2F>save
The current configuration will be written to the device.
开启ssh
[HUAWEI-2F]
[HUAWEI-2F]rsa local-key-pair create
The key name will be: HUAWEI-2F_Host
The range of public key size is (512 ~ 2048).
NOTES: If the key molus is greater than 512,
it will take a few minutes.
Input the bits in the molus[default = 2048]:
Generating keys…
……………….+++++
……………………++
….++++
………..++
[HUAWEI-2F]user-interface vty 0 4
[HUAWEI-2F-ui-vty0-4]authentication-mode aaa
Warning: The level of the user-interface(s) will be the default level of AAA users, please check whether it is correct.
[HUAWEI-2F-ui-vty0-4]protocol inbound ssh
[HUAWEI-2F-ui-vty0-4]qu
[HUAWEI-2F]ssh user admin
Info: Succeeded in adding a new SSH user.
[HUAWEI-2F]ssh user admin authentication-type password
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]aaa
//有密码可以不用设置
[HUAWEI-2F-aaa]local-user admin password
Please configure the login password (8-128)
It is recommended that the password consist of at least 2 types of characters, including lowercase letters, uppercase letters, numerals and special characters.
Please enter password:
Please confirm password:
Please enter old password:
Error: The new password is the same as the old password.
[HUAWEI-2F-aaa]local-user admin service-type ssh
Info: After changing the rights (including the password, access type, FTP directory, and level) of a local user, the rights of users already online do not change. The change takes effect to users who go online after the change.
[HUAWEI-2F-aaa]qu
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]
[HUAWEI-2F]ssh user admin service-type stelnet
[HUAWEI-2F]stelnet server enable
Info: Succeeded in starting the Stelnet server.
[HUAWEI-2F]quit
< HUAWEI-2F>save
❻ 华为交换机远程配置ssh
用户通过 STelnet 登录系统进行ssh登录。 创建SSH用户,并配置相应的权限 。 local-user huawei service-type administrator ssh password simple 3com 。 local-user adm service-type operator ssh password simple adm 。 # 设置系统所支持
❼ 通过ssh来控制linux系统,创建用户和密码,修改用户和密码,还有设置权限,的命令是什么
useradd
passwd
❽ 华为交换机怎么ssh登录别的交换机
华为交换机ssh登录别的交换机如下
一,配置管理地址和接口vlan
[SW1]vlan 10
[SW1]interface vlan 10
[SW1-Vlanif10]ip address 192.168.10.100 24
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]port link-type access
[SW1-GigabitEthernet0/0/1]port default vlan 10
二,开户stelnet权限
[SW1]stelnet server enable
三,创建本地密钥对
[SW1]rsa local-key-pair create
四,创建ssh用户名为user
[SW1]ssh user user //创建用户
[SW1]ssh user user authentication-type password //创建用户认证为密码认证
[SW1]ssh user user service-type stelnet //服务类型为ssh。