SECURECRT, FileZilla Log on to Linux with the public certificate

Source: Internet
Author: User
Tags filezilla

This article vinkn, reprint please indicate the source http://www.cnblogs.com/Vinkn/

First, Introduction

Server deployment After the general configuration of the firewall, generally also open ssh, you can directly log on to the remote server, for security reasons, after the server deployment will use public key to log on to the server, this article mainly simple introduction securecrt, FileZilla how to use SSH Public key Login server, just as the basis of the explanation, if there are questions or suggestions, please comment, enhanced configuration can be traced: http://os.51cto.com/art/200803/68174_all.htm

Second, key and public key

1. Connect to server using SSH

2, generate key and public key key (can default file name)

1024

3. Copy content and set permissions (Authorized_keys file name is related to SSH configuration)

Cat ~/. ssh/id_dsa.pub >>/root/. ssh/authorized_keys~/.  Ssh/authorized_keys    

4, ID_DSA, id_dsa.pub and download to local, delete two files on the server

Third, configure SSH

1. Modify the configuration file

vi/etc/ssh/sshd_config// allow only SSH2// Enable PublicKey authentication 5 authorizedkeysfile.  publickey file path // Prohibit password Authentication login          

2. Restart the SSH service

1  ssh restart

Iv. using public key in SECURECRT

1. Create a new session

2, input hostname and username, do not open directly after completion, select the session right click Properties

3, choose left SSH2, right reserved PublicKey, configure properties

4, directly into the

V. Use public key in FileZilla

1. Select Edit > Set >sftp

2. Add the key file, select the generated key file

3, the prompt key format is not supported, select "Yes", and then enter the password to save as a "PPK" file (Note: Although PPK is generated but be sure to add the PPK file again)

4. Add the generated PPK file to the key file

5, open the Site Manager, select the protocol for SFTP, login type is normal, enter the user name, password is empty

6, can be connected to the server

SECURECRT, FileZilla Log on to Linux with the public certificate

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.