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 $ 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`: `.ssh/config`:
@ -11,7 +11,7 @@ $ ssh-keygen -t ecdsa -b 521 -f $HOME/.ssh/id_ecda_pyrotechny_eu
Host gh_pyrotechny Host gh_pyrotechny
Hostname github.com Hostname github.com
User git User git
IdentityFile ~/.ssh/id_ecda_pyrotechny_eu IdentityFile ~/.ssh/id_ecdsa_pyrotechny_eu
``` ```
`.git/config`: `.git/config`:
@ -22,4 +22,7 @@ local /Users/jerry/src/github.com/xor-gate/pyrotechny.eu (fetch)
local /Users/jerry/src/github.com/xor-gate/pyrotechny.eu (push) 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 (fetch)
origin gh_pyrotechny:pyrotechny-eu/pyrotechny.eu.git (push) origin gh_pyrotechny:pyrotechny-eu/pyrotechny.eu.git (push)
``` ```
Rewrite remote:
`git remote set-url origin "gh_pyrotechny:pyrotechny-eu/pyrotechny.eu.git"`