The first mistake you encounter might be
Macintosh:Permissions 0755 for '/User/xxxx/.ssh/id_rsa' are too open.
Linux:Permissions 0755 for '/home/xxxx/.ssh/id_rsa' are too open.
This means that your private key permissions are too large, so only you need to operate
sudo chmod 600 ~/.ssh/id_rsa sudo chmod 600 ~/.ssh/id_rsa.pub
The known_hosts file has a problem with permissions when you encounter the following situation
Are you sure you want to continue connecting (yes/no)?yes Failed to add the host to the list of known hosts
Execute this command
sudo chmod 644 ~/.ssh/known_hosts
Finally, to get your.ssh folder permissions right, execute the following command
sudo chmod 755 ~/.ssh
Then your.ssh folder and the private and public key permissions within it are resolved!
Read More:
- Error, some other host already uses address (How to Fix)
- How to Fix SQL Error: 1054, SQLState: 42S22 Unknown column ‘markcardex0_.art_service_time’ in ‘field list’
- Add Samba user prompt failed to add entry for user
- Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory (How to Fix)
- How to Fix Tomcat Error: Failed to destroy end point associated with ProtocolHandler[ajp-nio-8009]
- JNI calls the add function of list in Java to flash back
- How to Fix failed to Connect to MySQL at localhost:3306 with user root
- Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded (How to Fix)
- express nodejs Failed to lookup view error in views directory (How to Fix)
- ERROR: Failed to parse POMs (How to Fix)
- How to Fix Session is not Connecting (How to Diagnose it)
- How to Fix Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- ansible Q&A: Failed to connect to the host via ssh: ssh_exchange_identification and Authentication or per
- How to Fix gdb error: Failed to import the site module,No module named ‘_sysconfigdata_m’
- Module build failed Error Plugin/Preset files are not allowed to export objects, only functions (How to Fix)
- failed: Too many links (How to Fix)
- Uncaught TypeError: Failed to execute ‘appendChild’ on ‘Node’: parameter 1 is not of type ‘Node How to Fix
- INSTALL PARSE FAILED INCONSISTENT CERTIFICATES (How to Fix)
- Ubuntu reads the shared folder under windows Unable to mount location Failed to retrieve share list from server