华为关闭telnet命令_华为交换机关闭Telnet、开启SSH服务命令
SECURECRT登录进去后
< BJDSNW-2F>敲 sys
进入 system view
关闭Telnet
[BJDSNW-2F]undo telnet server enable
[BJDSNW-2F]quit
< BJDSNW-2F>save
The current configuration will be written to the device.
开启ssh
[BJDSNW-2F]
1、创建本地RSA秘钥对
[BJDSNW-2F]rsa local-key-pair create//产生RSA本地秘钥
The key name will be: BJDSNW-2F_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 = 2048]:
Generating keys…
……………….+++++
……………………++
….++++
………..++
2、配置vty界面支持的登录协议(设置vty 0 4远程登陆的虚拟端口)
VTY是路由器的远程登陆的虚拟端口,0 4表示可以同时打开5个会话,line vty 0 4是进入VTY端口,对VTY端口进行配置,比如说配置密码,或者ACL.
[BJDSNW-2F]user-interface vty 0 4 //进入vty 0 4远程虚拟端口
[BJDSNW-2F-ui-vty0-4]authentication-mode aaa //验证方式为aaa
Warning: The level of the user-interface(s) will be the default level of AAA users, please check whether it is correct.
[BJDSNW-2F-ui-vty0-4]protocol inbound all {ssh | all}//这里选择ssh或者ALL都可以,ssh代表的是只支持ssh登录,all代表也支持其他的登录方式
//必须配置VTY用户界面的验证方式为AAA,不然protocol inbound ssh配置不成功
[BJDSNW-2F-ui-vty0-4]qu
3.
[BJDSNW-2F]ssh user admin// 创建SSH用户admin
Info: Succeeded in adding a new SSH user.
[BJDSNW-2F]ssh user admin authentication-type password //为admin用户设置ssh认证为password,此命令对设置单一用户设置来说比较实用
[BJDSNW-2F]
[BJDSNW-2F]
[BJDSNW-2F]
[BJDSNW-2F]aaa
[BJDSNW-2F-aaa]local-user admin password //不想修改原来的telnet密码的话,可以不用设置,该步骤可以省略
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.
[BJDSNW-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.
[BJDSNW-2F-aaa]qu
[BJDSNW-2F]
[BJDSNW-2F]
[BJDSNW-2F]
[BJDSNW-2F]ssh user admin service-type stelnet//为admin用户设置ssh认证服务类型为stelnet
[BJDSNW-2F]stelnet server enable
Info: Succeeded in starting the Stelnet server.
[BJDSNW-2F]quit
< BJDSNW-2F>save
以ssh2方式登录验证 :
display ssh server status
感谢作者:Partner2016
原文:https://blog.csdn.net/partner2016/article/details/78686925
华为关闭telnet命令_华为交换机关闭Telnet、开启SSH服务命令相关推荐
- 华为交换机关闭Telnet、开启SSH服务命令
SecureCRT登录进去后,进入 system view 1.关闭Telnet undo telnet server enable 2.开启SSH stelnet server enable ss ...
- 华为ENSP模拟器开启SSH服务
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录 前言 一.实验环境 二.实验预配 1.交换机S1.S2预配 2.S2配置SSH服务 3.S1作为Client登录Server ...
- 查看ssh和防火墙的状态 开启ssh服务 关闭防火墙
1.查看ssh和防火墙的状态 service sshd status service iptables status 2.开启ssh服务 service sshd start 3.关闭防火墙 chkc ...
- ubuntu安装ssh服务命令
由于测试华为的方舟编译器,然而方舟编译器的环境采用ubuntu16.04的环境.所以我安装了一个全新的ubuntu16.04的系统,让我很失望的是ssh服务竟然集成进入16.04的版本.至此需要通过自 ...
- 华为关闭telnet命令_华为3928配置telnet登录的命令
华为3928配置telnet登录的命令 发布时间:2012-05-14 01:40:54 作者:佚名 我要评论 华为3928配置telnet登录的命令,需要的朋友可以参考下 sys local ...
- 华为关闭telnet命令_华为AR28-11路由器如何关闭telnet服务?
仅供参考:使用基本ACL配置交换机telnet访问的权限 组网需求 如图7-1所示,为了便于远程管理交换机,开启了telnet的服务,公司的所有网络管理员都可以登录 到交换机进行管理,但是为了安全考虑 ...
- 交换机启用光口命令_华为光交换机查看光模块命令
华为光交换机查看光模块命令 以华为 5700 系列交换机为例,查看光模块信息命令如下: 查看指定端口光模块的常规.制造.告警以及诊断信息. display transceiver interface ...
- 华为端口聚合命令_华为交换机端口汇聚不同版本配置命令汇总
# 将以太网端口Ethernet2/0/1至Ethernet2/0/3加入聚合组1. [DeviceA] interface ethernet 2/0/1 [DeviceA-Ethernet2/0/1 ...
- 华为端口聚合命令_华为交换机链路聚合配置命令
手工负载分担模式链路聚合 介绍了手工负载分担模式链路聚合配置场景.step及注意事项. 1.1.1 建立配置任务 1.1.2 创建Eth-Trunk 1.1.3 (可选)配置Eth-Trunk 工作模 ...
- 华为修改优先级命令_华为命令笔记
文件系统VRP dir flash: ---显示磁盘文件 copy flash:/vrpcfg.zip vrpcfg.zip ---复制文件 rename vrpcfg.zip a.zip ---重命 ...
最新文章
- 回到顶部和返回首页jquery插件
- 项目怎么查服务器,服务器查询项目标签
- Django框架深入了解_04(DRF之url控制、解析器、响应器、版本控制、分页)(一)
- RabbitMQ快速入门--消息模型介绍
- 常用的友元重载运算符OSTREAM
- tp5 php正则邮箱,TP5验证器使用实例
- python glob函数_python glob 模块 map函数
- SimpleDateFormat线程不安全了?这里有5种解决方案
- 凌波微步-python小游戏源码下载
- Gitlab-Runner安装并注册
- Windows使用MinGW编译ffmpeg
- Power bi 3.22 切片器
- 你适合当leader吗?今晚,我们一起找答案
- 支持m3u8的php视频cms,分享一个苹果CMS可用P2P的M3U8解析代码
- secureCRT 设置背景色等操作
- Embedding Label Structures:细粒度特征表示的标签结构嵌入
- office2016安装记录
- 18.5.4 分布式恢复
- Go语言 一级函数 --- 匿名函数、高阶函数、闭包
- 关于网站编码完成后,上线前的安全检查
热门文章
- cmw500 lte非信令测试_买CMW500,信令与非信令的含义?功能?
- java 运行注释_Java中的可执行注释
- html中多个div分开排列,CSS+DIV设计实例:多个DIV排列时居中
- Java中String、StringBuffer 、StringBuilder
- PXC 57 二进制安装
- Java设计模式——代理模式实现及原理
- MVC4 EF6 MYSQL
- xtu DP Training C.炮兵阵地
- [C++]类的继承与派生
- TensorFlow实现mnist手写数字识别项目代码