Skip to content
Discussion options

You must be logged in to vote

Try to use SSH Auth on linux machines.

  1. Generate an SSH key on the Linux machine:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  • Save it to the default location (~/.ssh/id_rsa) or a custom path.

  1. Add the public key to GitHub:
  • Copy the public key:
cat ~/.ssh/id_rsa.pub
  • Go to GitHub > Settings > SSH and GPG keys > New SSH key.
  • Paste the public key and save.

  1. Update your Git remote URL to use SSH:
git remote set-url origin git@github.com:organization/repo.git

  1. Test the SSH connection:
ssh -T git@github.com

You should see a message confirming your access.


Since pushing via PyCharm is possible, maybe you could also try to use the same mechanism on your linux machines:

  1. Che…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Denis-Kazakov
Comment options

Answer selected by Denis-Kazakov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage
2 participants