Ssh-copy-id to Fedora Server 40 - Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

You have to allow password authentication until you have set the public key to the server. As long as the server doesn’t have your public key, only password authentication is available.

4 Likes