-
Notifications
You must be signed in to change notification settings - Fork 0
Security and Encrpytion
Lean's edited this page Mar 4, 2025
·
10 revisions
- ssh-keygen -t rsa -b 4096
Genereta the keys
- ssh-keygen -t rsa -b 4096
- Copy the keys generated in /home/user/.ssh/id_rsa... to a location that you prefer
- Go to the git website that you are hosting your repository and find for deploy keys
- Use the id_rsa.pub contents in the website, and allow write access
- Now go to the repository and open your terminal and type:
git remove -v
git remote set-url origin WEBSITEADDRESS:USERNAME/REPOSITORYNAME.git
EXAMPLE:
git remove -v
git remote set-url origin git@github.com:LeandroTheDev/arch_linux.git
- move the keys generated to your desired location
- ssh-add /path/to/desired/location/id_rsa
-
This needs to be called every system reset, so add it to .bashrc or whatever system you use
- sudo pacman -S keepassxc
- keepassxc
- Press the left button in the new entry
- Now you can get the code
-




