vault backup: 2025-04-06 18:53:39
This commit is contained in:
parent
d3873456de
commit
a183b02237
|
|
@ -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"`
|
||||||
Loading…
Reference in New Issue