SecureCRT and OpenSSH

I use Vandyke’s SecureCRT to access my linux machines. Due to the recent increase in the number of attempts to break-in to my systems via SSH, I decided it was high time I switched to using public/private key authentication instead of simply password.

I had devil of time figuring out how to get the public key generated by SecureCRT into OpenSSH’s authorized_keys2 file.

After digging through the SecureCRT help file for a bit I finally found the command (it was pretty obvious, had I read further).

cd .ssh
ssh-keygen -X -f >> authorized_keys2

Now I just have to figure out a way to keep my public keys with me whenever I might have need to access my systems without a system I work on normally.


1 ping

  1. I did the same thing, and like you, did not read far enough in the help notes.

    Though, given all the OpenSSH servers floating around out there, I thought this might be further to the top of my SecureCRT notes. That said, I am running an older 5.x release.

  2. Hi David – Marc from VanDyke Software here.

    Not too long ago, we published a tip in our monthly newsletter detailing how you can install SecureCRT (including your authentication keys) on a USB “thumb” drive so you can have it with you wherever you go.

    Here’s the link:

    You and your readers who use SecureCRT may want to drop by the VanDyke Software Forums where you can pose questions and share tips with our developers and other users.

  1. […] While Googling for a command to convert SecureCRT Public key files into SSH compatible strings, I uncovered this. At first I thought it was a useful instruction on exactly what I was after. Then I noticed something in the side bar… “ShutterBug”, and realized the guy was into photography, as well as computer stuff. So not only does he use the same software, but is also into photography. Okay, bit of a stretch on that “twin” thing right? When I started browsing around his “ShutterBug” section, I found out he has the same camera as mine, and was considering getting the same camera I want too… […]

Leave a Reply

Your email address will not be published.