Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1919
  • Last Modified:

.pem file with SecurtCRT

Hi,
I have a issue that breaks my head and hope that maybe someone can give me a tip.
I use SecureCRT and also WinSCP to login to my remote server. I had a Firewall set-up and they gave me a .pem file and told me to use this to connect in the future when I do a remote SSL connection.
Well that is good and in WinSCP there is actually a tool called PuTTYgen that allowed me to create a ppk file from the pem file.
However I prefer SecureCRT and this seems to require a .pub file. But I searched everywhere on how to convert this pem file to a pbb file that can be used with SecureCRT.
Its killing me and it seems that either I googled for the wrong stuff of nobody else has this issue, maybe I just do not get it. So any tip on how I can use SecureCRT to connect to my remote server again using the .pem file would be very appreciated.

Best wishes,
thom
0
Thomanji
Asked:
Thomanji
1 Solution
 
woolmilkporcCommented:
If you have "ssh-keygen" from OpenSSH you can run

ssh-keygen -y -f private_key1.pem > public_key1.pub

You can also use PuTTYGen to convert your ppk file to OpenSSH format.

Just start PuTTYGEN, click "Load an existing private key", The upper part of the window now contains a public key to paste into the authorized_keys file.

You can also load your private ppk file under "Conversions", then, also under "Conversion" export an OpenSSH private key.
0
 
ThomanjiAuthor Commented:
Thanks, I actually figured it out, there is a way to use a .pem file direct. but thank you for the suggestion.
0

Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now