How to Setup Public Key Use Globally on SecureCRT

本文介绍如何使用SecureCRT创建SSH免密登录所需的公钥和私钥对,并详细说明了每一步操作流程,包括选择密钥类型、设置密钥长度、保护私钥等关键步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

通过SeureCRT创建一个公用的密钥,以后SSH登陆上去不用输入用户名密码

1.Go to "Tools" -> "Create Public Key..." or "Options" > "Global Options"


2.Select "RSA" as key type from the drop down box


3.Set a passphrase to protect your private key


4.Set the key length to 1024


5.SecureCRT will generate the key


6.Select "Open SSH Key format" and point SecureCRT to the location where you want the keys saved. You can also take this opportunity to give the key file a name other than the default name (Identity).


7.SecureCRT may ask if you want to use this as your global Public Key, and you can safely say "yes"

PS: 这里你需要在服务器端解析设置你的public key当中的密钥密文让它生效。


8.At this point you can use the private/public key pair to log on but you need to setup your sessions to do so. You can choose to globally set all sessions to attempt to use the public key by default or just set it for individual sessions.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值