Re: push to github repo hangs - why? (how to push to Github from FreeBSD)

From: Dale Scott <dalescott_at_shaw.ca>
Date: Thu, 26 Jan 2023 23:30:44 UTC
----- Original Message -----
> From: "0x1eef" <0x1eef@protonmail.com>
> To: "Dale Scott (dalescott@shaw)" <dalescott@shaw.ca>
> Cc: "Tomek CEDRO" <tomek@cedro.info>, "freebsd-questions" <freebsd-questions@freebsd.org>
> Sent: Thursday, January 26, 2023 11:16:09 AM
> Subject: Re: push to github repo hangs - why? (how to push to Github from FreeBSD)
>
> It is common to authenticate with GitHub for clone, pull, and
> push operations using an SSH key. It is recommended (but not required) for the
> key to be protected by a passphrase.
> 
> I recommend GitHub's documentation to learn more:
> 
> https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
> 
> After you have generated an SSH key, you should add the public
> key to your GitHub account through their website. You might
> also find the "ssh-keygen", "ssh-agent" and "ssh_config" man
> pages helpful.

Thanks for your suggestion. I was mistakedly thinking ssh wasn't available, but I was confusing using git over ssh with GitHub (which iiuc is no longer supported), with using ssh authentication for git over https. I will add my public ssh key to my github account and expect success this time (I'm already using my private key to ssh login to other servers, so I expect that part should already work).