通过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.
SecureCRT SSH免密登录配置
本文介绍如何使用SecureCRT创建SSH免密登录所需的公钥和私钥对,并详细说明了每一步操作流程,包括选择密钥类型、设置密钥长度、保护私钥等关键步骤。
2万+

被折叠的 条评论
为什么被折叠?



