$
ssh -i ~/.ssh/id_ed25519 root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
ED25519 key fingerprint is SHA256:xQz3k9Lm/vT8NpWr+Ky2eJb0cF4hUs6iDwAoGqMnYlE.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
yes
Warning: Permanently added '192.168.1.1' (ED25519) to the list of known hosts.
root@192.168.1.1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
$
ssh -v root@192.168.1.1
OpenSSH_9.6p1, LibreSSL 3.3.6
debug1:
Connecting to 192.168.1.1 [192.168.1.1] port 22.
debug1:
Connection established.
debug1:
Authentications that can continue: publickey
Permission denied (publickey). :)
$