Similar questions look outdated compared to official guide. I do the following in Colab
:
# Generating a new SSH key
!ssh-keygen -t ed25519 -C "your_email@example.com"
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 ..... your_email@example.com
to new SSH Key window.
And test connection fails:
!ssh -T git@github.com
Host key verification failed.
What am I doing wrong?