導航:首頁 > 程序命令 > 華為創建ssh用戶命令

華為創建ssh用戶命令

發布時間:2022-07-30 05:02:21

❶ 華為交換機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。

閱讀全文

與華為創建ssh用戶命令相關的資料

熱點內容
剪應力計演算法 瀏覽:819
如何自己搭建url跳轉伺服器 瀏覽:983
廣數980tb3用g83鑽孔怎麼編程 瀏覽:576
程序員上海與北京 瀏覽:405
安卓手機的動態照片為什麼卡 瀏覽:538
ad編譯集成庫時最常見的問題 瀏覽:846
matlab微分方程編程 瀏覽:700
安卓手機如何打開esp文件 瀏覽:545
什麼app能安裝應用 瀏覽:199
手機用什麼app看電視劇電影好 瀏覽:603
導入原理圖為什麼文件夾不顯示 瀏覽:656
androidapp風格 瀏覽:211
php取伺服器url地址 瀏覽:293
linux時間調度演算法 瀏覽:771
單片機最小電路詳解 瀏覽:185
請求要求命令 瀏覽:806
電腦文件夾發微信顯示被佔用 瀏覽:295
手機怎麼看加密視頻 瀏覽:207
怎樣解壓手機es文件包 瀏覽:661
2017年學什麼編程 瀏覽:935