Python 官方文档:入门教程 => 点击学习
拓扑见QQ收藏:[R1]public-key local create rsa 产生公钥The range of public key modulus is (512 ~ 2048).If the key modulus is great
拓扑见QQ收藏:
[R1]public-key local create rsa 产生公钥
The range of public key modulus is (512 ~ 2048).
If the key modulus is greater than 512, it will take a few minutes.
Press CTRL+C to abort.
Input the modulus length [default = 1024]:
Generating Keys...
.
Create the key pair successfully.
[R1]ssh server enable 开启SSH
[R1]user-interface vty 0 4 配置VTY
[R1-line-vty0-4]authentication-mode scheme
[R1-line-vty0-4]protocol inbound ssh
[R1-line-vty0-4]quit
[R1]local-user R2 创建用户认证类型和密码(R2为远端需要远程访问本机的路由器名称)
[R1-luser-manage-R2]password simple 123
[R1-luser-manage-R2]service-type ssh
[R1-luser-manage-R2]authorization-attribute user-role network-admin 指定权限为最高
[R1-luser-manage-R2]quit
[R1]ssh user R2 service-type stelnet authentication-type password
R2远程登录:
<R2>ssh2 1.1.1.1
Username: R2
Press CTRL+C to abort.
Connecting to 1.1.1.1 port 22.
R2@1.1.1.1's password:123
Enter a character ~ and a dot to abort.
******************************************************************************
* Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
--结束END--
本文标题: H3C SSH
本文链接: https://lsjlt.com/news/185947.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0