且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2022-08-19 13:53:25

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