Similar questions look outdated compared to official guide. I do the following in Colab
:
# Generating a new SSH key
!ssh-keygen -t ed25519 -C "[email protected]"
Your identification has been saved in /root/.ssh/id_ed25519.
Your public key has been saved in /root/.ssh/id_ed25519.pub.
Then I copy-paste the content of id_ed25519.pub
ssh-ed25519 ..... [email protected]
to new SSH Key window.
And test connection fails:
!ssh -T [email protected]
Host key verification failed.
What am I doing wrong?