AR系列路由器使用SSH使用者驗證方式為password登入路由器的典型配置

來源:互聯網
上載者:User

大 | 中 | 小
SSH是Secure Shell(安全殼層)的簡稱,使用者通過一個不能保證安全的網路環境遠程登入到路由器時,SSH特性可以提供安全保障和強大的認證功能,以保護路由器不受諸如IP地址欺詐、純文字密碼截取等等的攻擊。
使用SSH Client通過password方式登入路由器
#

sysname Quidway

#

radius scheme system

#

domain system

#

local-user huawei /建立本地帳號“huawei”/

password simple huawei /設定密碼為“huawei”/

service-type ssh /設定服務類型為ssh/

level 3 /設定使用者優先順序為3/

#

interface Ethernet1/0/0

ip address 192.168.1.254 255.255.255.0

#

interface NULL0

#

ssh user huawei authentication-type password /配置SSH使用者驗證方式為password/

ssh user huawei service-type stelnet /配置SSH使用者服務類型為stelnet/

#

user-interface con 0

user-interface vty 0 4

authentication-mode scheme /設定scheme認證/

#

return
【驗證】

1、產生本地RSA主機金鑰組和伺服器金鑰組

[Quidway]rsa local-key-pair create

The key name will be: Quidway_Host

The range of public key size is (512 ~ 2048).

NOTES: If the key modulus is greater than 512,

It will take a few minutes.

Input the bits in the modulus[default = 512]: /主機密鑰的預設位元為512位/

Generating keys...

..............++++++++++++

.++++++++++++

....................++++++++

.......++++++++

2、使用SSH client軟體PuTTY,輸入“huawei/huawei”可以成功登入系統

【提示】

1、配置併產生本地RSA金鑰組(rsa local-key-pair create)是成功完成SSH登入的首要操作。此命令只需執行一遍,路由器重新啟動後不必再次執行。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.