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,

1 Like

what happens when you test your connection again as detailed here

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, instead of You need to fix that. :smiley_cat:

Another clue might’ve been the bad SSH key from the server. Before accepting one for, 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.


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

1 Like