Aruba 6300F 24G如何配置SSH密钥登录及怎样获取设备软件版本升级包
(0)
您好,请知:
可以参考如下配置案例:
aruba交换机启用telnet与ssh
开启Telnet服务&创建登录账号密码
#进入全局模式
ProCurve#config
#开启Telnet服务(因设备固件差异化,命令行方式有所不同,以下为两种开启Telnet服务命令)
ProCurve(config)#telnet server enable (方法1)
ProCurve(config)#telnet-server (方法2)
#创建本地用户admin,设置登录密码admin,用户级别为manager管理员级别
ProCurve(config)#password manager user-name admin plaintext admin
#保存配置
ProCurve(config)#write memory
登陆帐号密码配置
Access-2# configure
Access-2(config)# password operator //用户模式密码
New password for operator: hpe
Re-enter the new password for operator: hpe
you are allowed to move to enable mode because you have not set a manager password.
Set a manager password now. The password is “hpe” (case-sensitive).
Access-2# config
Access-2(config)# password manager //enable密码
New password for manager: hpe
Re-enter the
new password for manager: hpe
验证:
Log in as the operator.
<-output omitted->
Username: operator
Password: hpe
Try to move to enable mode.
Access-2> enable
As you see, you are prompted for credentials because manager access is restricted by a
password. Enter manager for the username and password.
Username: manager
Password: hpe
From enable mode, you now have complete access to the switch CLI
Enable SSH
开启ssh:
Access-2 (console session)
Return to the terminal session with Access-2. Move to global configuration mode.
Create a key for SSH.
Access-2(config)# crypto key generate ssh rsa bits 2048
Installing a new key pair. If the key/entropy cache is
depleted, this could take up to a minute.
The installation of a new key pair is successfully completed.
SSH is enabled by default when the switch has an SSH key. However, if your switch did not have
a key, SSH would have been disabled on it. Enter this command to make sure that SSH is
enabled:
Access-2(config)# ip ssh
创建新用户名密码
Change the manager credentials to the ones shown in the table. Remember that passwords are
case-sensitive! (You will see ** rather than the password letters.)
Access-2(config)# password manager user-name admin
New password for manager: hpe
Please retype new password for manager: hpe
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论