How to log in to Amazon EC2 using PEM format from SecureCRT

本文指导您如何在SecureCRT中设置Amazon EC2私钥与公钥,实现安全连接。通过创建SSH2会话,指定公钥认证方法,并在SessionOptions/SSH2中设置Amazon EC2私钥,点击Properties按钮选择公钥设置,最后浏览或输入EC2私钥路径以完成身份验证文件的配置。

SecureCRT requires both a private and a public key. Use the supplied key.pem file from EC2 here as your private key only in Windows for SecureCRT rename it to "key." with no file type. Copy this down to a directory on your local Windows machine use it as Your Identity file in SCRT. Now we need a public key. You can create that below by following the bellow steps. Make sure that file has the same name as key. but ends in file type .pub so in other words key.pub. Save that also to your Windows PC in the same directory as the private key file "key.". Note the name does not have to be "key" but both have to be named the same except for the file type.

 

SecureCRT 6.2 and above:

Support for Amazon EC2 keys has been implemented in SecureCRT 6.5 beta 2 and later.

To use the Amazon EC2 private key:

 
  1. Create an SSH2 session
  2. Specify PublicKey as the authentication method in Session Options / SSH2
  3. Set the Amazon EC2 key as the private key to use for the session
    1. Select PublicKey in Session Options / SSH2
    2. Click the Properties button
    3. Select Use session public key setting
    4. Browse to or enter the path to the EC2 private key in the entry box under Use identity or certificate file
  4. Connect to the EC2 server
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值