vault backup: 2025-04-06 18:53:39

This commit is contained in:
Jerry Jacobs 2025-04-06 18:53:39 +02:00
parent d3873456de
commit a183b02237
1 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@ For pyrotechny.eu the user account `pyrotechny-eu` and custom SSH key is used. W
```
$ mkdir ~/.ssh && chmod 700 ~/.ssh
$ ssh-keygen -t ecdsa -b 521 -f $HOME/.ssh/id_ecda_pyrotechny_eu
$ ssh-keygen -t ecdsa -b 521 -P "" -f $HOME/.ssh/id_ecdsa_pyrotechny_eu
```
`.ssh/config`:
@ -11,7 +11,7 @@ $ ssh-keygen -t ecdsa -b 521 -f $HOME/.ssh/id_ecda_pyrotechny_eu
Host gh_pyrotechny
Hostname github.com
User git
IdentityFile ~/.ssh/id_ecda_pyrotechny_eu
IdentityFile ~/.ssh/id_ecdsa_pyrotechny_eu
```
`.git/config`:
@ -23,3 +23,6 @@ local /Users/jerry/src/github.com/xor-gate/pyrotechny.eu (push)
origin gh_pyrotechny:pyrotechny-eu/pyrotechny.eu.git (fetch)
origin gh_pyrotechny:pyrotechny-eu/pyrotechny.eu.git (push)
```
Rewrite remote:
`git remote set-url origin "gh_pyrotechny:pyrotechny-eu/pyrotechny.eu.git"`