Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2023 20:54:43 +0100
From:      Tomek CEDRO <tomek@cedro.info>
To:        0x1eef <0x1eef@protonmail.com>, Dale Scott <dalescott@shaw.ca>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: push to github repo hangs - why? (how to push to Github from FreeBSD)
Message-ID:  <CAFYkXj=WEj-nFU=wG3Yzd7EFfkofUovoWDZ9ZxgWeYJ5DQGpSg@mail.gmail.com>
In-Reply-To: <T1xRfn5TxS_UbnwrA9f2642kVtr8a1105gT9izLk40Y2mHIOlBO61tQiBCSihjA0VqY-ERxlw63H7bSZKBrufIRL-B931pkm8XvzCjbejb0=@protonmail.com>
References:  <2088347522.21487875.1674704156310.JavaMail.zimbra@shaw.ca> <CAFYkXjkR9W85Wq8bwqc_m3C%2Brgx98njzBd9mVxS3pAnSwgc2Pg@mail.gmail.com> <1461614347.22885986.1674746677113.JavaMail.zimbra@shaw.ca> <T1xRfn5TxS_UbnwrA9f2642kVtr8a1105gT9izLk40Y2mHIOlBO61tQiBCSihjA0VqY-ERxlw63H7bSZKBrufIRL-B931pkm8XvzCjbejb0=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 26, 2023 at 7:16 PM 0x1eef wrote:
>
> > Can you explain your workflow in more detail? It looks like I've got some reseach to do....
>
> Hi Dale,
>
> 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.

Yup, ssh key auth is the most common (and welcome by server) way to
go, please try this one and report back :-)

If you do not want to store private key in a file you can put it in
the usb token, then you need gpg-agent :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXj=WEj-nFU=wG3Yzd7EFfkofUovoWDZ9ZxgWeYJ5DQGpSg>