華為交換器 ssh ,ftp登陸配置

來源:互聯網
上載者:User

標籤:ftp   ssh   華為交換器   web登入配置   

      telnet登陸方式在內網已經不是很安全了,採用ssh登陸較為安全。下面我給大家介紹一下如何用ssh登陸。

主要分三大步:

  1. 建立使用者。

  2. 配置vty使用者。

  3. 配置aaa使用者

     

一、建立使用者.首先進入系統配置模式下面

  1. stelnet server enable  /啟用ssh 服務

  2. ssh user admin /建立使用者,名字是admin

  3. ssh user admin authentication password  /admin認證方式為密碼

  4. ssh user admin service-type stelnet      /admin的許可權為ssh,可以根據需要增加。

  5. quit/完成後退出

二、配置vty

  1. user-interface vty 0 4         /終端登入0-4個使用者

  2. authentication-mode aaa    /配置aaa

  3. protocal inboud ssh     /允許ssh接入。(或者可以是all,允許所有協議)

  4. quit/完成後退出

三、配置aaa許可權

  1. aaa

  2. local-user admin passord cipher 123 /為user 設定密碼,cipher是加密方式

  3. local-user admin service-type ssh  /使用者服務方式為ssh,也可以根據情況增加

  4. local-user admin privilege level 15 /使用權限設定為最高

四、注意:

ftp登入
前面完全相同,只需要換成service-type ftp
FTP server enable

然後再在user-interface vty 0 4
 protocol inbound all

---------------------------------
如果想ftp,ssh,web頁面皆可登入,ftp ssh http ,只需要 service-type FTP ssh  http即可

 

本文出自 “郝人一生平安” 部落格,請務必保留此出處http://hyp0535.blog.51cto.com/3019941/1674035

華為交換器 ssh ,ftp登陸配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.