How can I fix this?

Somehow my terminal lost connection with GitHub and it ended like this :frowning: is there is possibility to restore connection with SSH keys?

Happy for any help.

Best wishes,
Marina

1 Like

what happens when you test your connection again as detailed here
testing-your-ssh-connection

please also note you cannot actual establish a remote SSH session on GitHub as such just ability to perform git commands over SSH protocol.

It looks like you’re connecting to the wrong host, githuh.com instead of github.com. You need to fix that. :smiley_cat:

Another clue might’ve been the bad SSH key from the server. Before accepting one for github.com, make sure it’s one of these:

If SSH reports another key either the hostname is wrong (like here) or someone is attacking your SSH connection.

2 Likes

your eyesight is good @airtower-luna, good spot :wink:

1 Like