Datei ~/.ssh/config
mit folgendem Inhalt anlegen:
Host myhost
HostName 192.168.1.10
User johndoe
Port 22
IdentityFile ~/.ssh/id_ed25519.pub
This file must be readable and writable only by the user and not accessible by others
chmod 600 ~/.ssh/config
Weitere Infos hier