About SSH client Configuration

Source: Internet
Author: User

Reference: http://www.cnblogs.com/rooney/archive/2012/03/22/2411727.html

1. Generate the login public key and Private Key

First, use the ssh-keygen command line to generate a pair of public and private keys, and send the public key to the server for configuration.

Some applications directly use the private key in the putty format. You can use puttygen to convert the Private Key to the putty format (for example, git GUI needs to use this ).

2. About the configuration file

After OpenSSH is installed on Linux, you can use the SSH command line to connect to it. It is more convenient to configure the user name and private key.

1) copy/etc/ssh/ssh_config ~ /. Ssh/config (Rename to config)

2) modify the host * Project (indicating that all hosts connected by default use this configuration. You can add a dedicated host configuration) and add

Identityfile ~ /. Ssh/id_rsa/xxx. RSA private key storage directory
User XXX login Username

If both are correctly configured, you can directly connect to SSH 10.0.0.1!

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.