Skip to content

Instantly share code, notes, and snippets.

@I0x0I
Created February 2, 2023 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save I0x0I/1a3c83911c42714bd2e8a87c98742e77 to your computer and use it in GitHub Desktop.
Save I0x0I/1a3c83911c42714bd2e8a87c98742e77 to your computer and use it in GitHub Desktop.

Github Authentication Failed

Use SSH

  1. Run ( < /dev/zero ssh-keygen -q -N ""); echo ""; cat .ssh/id_rsa.pub in container CLI
  2. Copy the output ssh-rsa XXXXXXXXXXXXXXXXXX root@334134babe59
  3. Paste it to Github -- Settings -- SSH and GPG Keys -- New SSH Key
  4. In container CLI, clone your repo with SSH

Use HTTPS

  1. Create a Personal Token
  2. Clone your repo with https with your token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment