If (on mac osx) you (lately) experience problems to log automatically on your mod (dwarf) device using authorized_keys you can fix this in two different ways.
- by adding to your home
~/.ssh/configthe following line:
Host 192.168.51.* UseKeychain yes StrictHostKeyChecking no PubkeyAcceptedKeyTypes +ssh-rsa
if there is no
touch ~/.ssh/config && chmod 0600 ~/.ssh/config
- creating a new key with
ssh-keygen -t ed25519
and adding this key as
IdentityFile ~/.ssh/id_ed25519(always in the ~/.ssh/config)
and also adding the
cat ~/.ssh/id_ed25519.pubto your
/root/.ssh/authorized_keyson the mod device.