Solve the problem of Agentadmittedfailuretosignusingthekey withssh
Source: Internet
Author: User
To solve the problem of Agentadmittedfailuretosignusingthekey, ssh should be installed on the local machine before sshwww.2cto.com is configured in withssh. you can install ssh through sudoapt-getinstallssh or XIDE. If no configuration is available, log on... solve the problem of Agent admitted failure to sign using the key with ssh before configuring ssh www.2cto.com on the local machine. you can install the Agent through sudo apt-get install ssh or XIDE. If no configuration is made, the password of the host is required to log on to the local host or remote host. The configuration for password-less logon is as follows: it is very simple. execute the ssh-keygen-t rsa command and press enter all the way. two files are generated under the ssh folder, one public key and one private key file, id_rsa id_rsa.pub, and then run cp ~ /. Ssh/id_rsa.pub ~ /. Ssh/authorized_keys command. After this configuration, you can log on to the local machine without a password. To log on to the remote host, you only need to send the authorized_keys file to the remote host ~ /. Ssh/directory. ? What is the same for ssh? Tom Pepper ?? When F ??? Www.2cto.com Agent admitted failure to sign using the key solution? Q: Use the ssh-add command to add the private key (change id_rsa according to the name of the private key) # ssh-add ~ /. Ssh/id_rsa can be accessed without a password through the ssh host name.
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