Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on Mac

Viewed 115

I want to connect from my Mac (terminal) to GCP instance (centos) by running ssh -i new_ssh_key centos@0.0.0.0 and I got the error centos@0.0.0.0: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

All works well till yesterday when SCP command did not worked out so I changed the permissions and probably something went wrong and now I can not connect to centos server at all.

Appreciated any help on this.

0 Answers
Related