Use of ssh-agent

Source: Internet
Author: User
The problem with using ssh-agent today is that I have to enter passphrase on the sshcodegerrit machine on the qa machine. Passphrase is required without entering the password, indicating that the trust relationship has been established, but the key is not added to the ssh-agent. Why does www.2cto.com encounter the problem of using sh... ssh-agent every time today? I need to enter passphrase on the qa machine ssh code gerrit machine.
Passphrase is required without entering the password, indicating that the trust relationship has been established,
But the key is not added to the ssh-agent. How does www.2cto.com add the key to the ssh-agent every time the shell is started?

You can add it to/etc/profile. d. However, you still need to enter
One passphrase.

You only need to set an empty passpharse. Ssh-agent also has a proxy forwarding function that can be used in multiple consecutive ssh
The previous ssh-agent does not have to save the private key in multiple places. Reference: http://www.2cto.com/ OS /201303/195006.html
Related Article

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.