Why is SSH client not able to get public key?

Why is SSH client not able to get public key?

Any help would be appreciated. The line above is not error, but just simple debug log saying that ssh client is not able to find separate public key (named ~/.ssh/id_rsa.pub ). This file is not needed to connect to the remote server, but it can be useful.

Is there such a file as Git key load public?

debug1: Reading configuration data /etc/ssh/ssh_config debug1: key_load_public: No such file or directory The solution proves that ssh needs to check the server to be a known host. If you have not assigned the needed known host, the gitlab server is not being trusted, which is meant by the key_load_public cannot be found .

Why is there no id _ rsa file in my SSH folder?

When I checked my .ssh folder, id_rsa was there but none of the others were. From the error, it looks like I need to somehow create these files but am not sure how to do so. Any help would be appreciated. The line above is not error, but just simple debug log saying that ssh client is not able to find separate public key (named ~/.ssh/id_rsa.pub ).

How to get the correct SSH host key?

Please contact your system administrator. Add correct host key in /Users/mdesales/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/mdesales/.ssh/known_hosts:238 ECDSA host key for [email protected] has changed and you have requested strict checking.

How to check for permissions for SSH keys?

Always use ssh-copy-id to be sure about permissions. Users home directory, the .ssh directory and the authorized_keys file on the server side have strict permission requirements. (see man sshd about authorized_keys).

Is there a no such file or directory?

debug1: key_load_public: No such file or directory is not an error. Just a debug message. The key is rejected on the server side and without information from the server log, it is not possible to help you.