I have previously written a perfect method for using SSH and securecrt keys in Linux. Many friends have asked me how to implement SSH2. SSH1 is a little outdated. You may wish to add the instructions for SSH2. In fact, it is as simple as SSH1.
1. First generate the SSH2 key pair. I chose to use RSA encryption.
Generate your key in securecrt (Global Options-> SSH2-> create identity file) in RSA format
2. Create the. Ssh directory on the Linux server. If you have used SSH1 normally before, you can skip this step. For example, I will use the root account to use SSH2.
Mkdir/root/. SSH
Chmod 700/root/. SSH
3. Upload the generated identity. Pub to the Linux server. If you are using securecrt, you can refer to securecrt to upload and download data.
4. Import the Public Key
Ssh-keygen-X-F identity. Pub>/root/. Ssh/authorized_keys2
Okay, that's simple. You may try it out.
BTW: My test environment:
Fedora Core 2
Securecrt4.1.4