Supplement to securecrt using SSH2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.