Caution
This changes system stuff, be suree you inspected what it does before running.
Haven't tested, but I don't miss much yet.
I should ideally try to see if I can make the first install even more hands-off
I concluded that I don't have much to miss in that, didn't work for packages that I did have problems with and did also fail in some that I succeed at.
I also think I can make it even better, but if anyone is looking for a readymade alternative, dra is great, and dev is very active.
Note
This is meant so that I can push from the device to github repo's may not be necessary or desired by you.
To configure SSH for seamless Git operations with GitHub, follow these steps:
- Generate SSH Keys:
ssh-keygen -t rsa -b 4096 -C "adriangalilea"
- Add SSH Key to SSH Agent:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
- Add SSH Key to GitHub:
cat ~/.ssh/id_rsa.pub
Copy the key and add it to your GitHub account:
- Test SSH Connection
ssh -T [email protected]
You should see a message like: "Hi username! You've successfully authenticated, but GitHub does not provide shell access."
- Update Repository Remote URL
If your repository is currently using HTTPS, update it to use SSH:
git remote set-url origin [email protected]:username/repository.git
Replace 'username' and 'repository' with your GitHub username and repository name.
If you're still having issues:
-
Ensure correct SSH key permissions:
chmod 600 ~/.ssh/id_rsa chmod 644 ~/.ssh/id_rsa.pub
-
Add your SSH key to the ssh-agent again:
ssh-add -K ~/.ssh/id_rsa
-
Create or edit
~/.ssh/config
:Host github.com AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa
- https://github.com/reemus-dev/gitnr gitignore generation TUI