Add SSH settings
This commit is contained in:
parent
514ab4eb09
commit
f42c0460a7
5 changed files with 67 additions and 4 deletions
5
.gitattributes
vendored
5
.gitattributes
vendored
|
@ -1 +1,4 @@
|
|||
.wakatime.cfg filter=ageEncrypt
|
||||
.wakatime.cfg filter=ageEncrypt
|
||||
**/.pulumi/credentials.json filter=ageEncrypt
|
||||
**/.kube/config filter=ageEncrypt
|
||||
**/.tabby-client/agent/config.toml filter=ageEncrypt
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
user = jleechpe
|
||||
|
||||
# Push instead of configuration
|
||||
[url "ssh://git@github.com/"]
|
||||
[url "ssh://github.com/"]
|
||||
pushInsteadOf= https://github.com/
|
||||
[url "git@codeberg.org:"]
|
||||
[url "codeberg.org:"]
|
||||
pushInsteadOf = https://codeberg.org/
|
||||
[url "git@forgejo.leechpepin.com:"]
|
||||
[url "forgejo.leechpepin.com:"]
|
||||
pushInsteadOf = https://forgejo.leechpepin.com
|
||||
|
||||
# Defaults
|
||||
|
|
58
ssh/.ssh/config
Normal file
58
ssh/.ssh/config
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Tailnet
|
||||
Host blackstaff
|
||||
Hostname blackstaff.leechpepin.tailnet
|
||||
Host dresden
|
||||
Hostname dresden.leechpepin.tailnet
|
||||
Host arthur
|
||||
Hostname arthur.leechpepin.tailnet
|
||||
Host jlpks8888
|
||||
Hostname jlpks8888.leechpepin.tailnet
|
||||
Host jlpgreencloud
|
||||
Hostname jlpgreencloud.leechpepin.tailnet
|
||||
Host headscale
|
||||
Hostname headscale.leechpepin.tailnet
|
||||
Host *.leechpepin.tailnet
|
||||
Port 22
|
||||
User jleechpe
|
||||
IdentityFile ~/.ssh/ed25519-gpg
|
||||
IdentitiesOnly yes
|
||||
|
||||
## Backups
|
||||
Host ndbackups
|
||||
Hostname ndbackups.leechpepin.com
|
||||
Port 22
|
||||
User jleechpe
|
||||
|
||||
# VCS related
|
||||
Host forgejo.leechpepin.com
|
||||
Port 22
|
||||
User git
|
||||
IdentityFile ~/.ssh/ed25519-gpg
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host github.com
|
||||
Port 22
|
||||
User git
|
||||
|
||||
Host codeberg.org
|
||||
Port 22
|
||||
User git
|
||||
|
||||
Host ssh.pijul.com
|
||||
HostName ssh.pijul.com
|
||||
Port 22
|
||||
User jleechpe
|
||||
AddKeysToAgent yes
|
||||
|
||||
Host ssh.dev.azure.com
|
||||
IdentityFile ~/.ssh/gpg_rsa2048.pub
|
||||
PubkeyAcceptedKeyTypes +ssh-rsa
|
||||
HostkeyAlgorithms +ssh-rsa
|
||||
Port 22
|
||||
User git
|
||||
|
||||
# Global Config
|
||||
Host *
|
||||
ControlMaster auto
|
||||
ControlPersist yes
|
||||
ControlPath ~/.ssh/control/%C
|
1
ssh/.ssh/ed25519-gpg.pub
Normal file
1
ssh/.ssh/ed25519-gpg.pub
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALEjLKB3bs0k/VfF4+JVaXf3uyjwJ2ZToz0Xe33+iLX openpgp:0x1F3543A7
|
1
ssh/.ssh/gpg_rsa2048.pub
Normal file
1
ssh/.ssh/gpg_rsa2048.pub
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCo3yMrXOAMolItvBnD6i3fWnwuh5h+8PAsSE/SJ8p+hVZHTXNlGtUaxWCgAZILKSYtbom/M4VFdXXySHpriRs0cES7igVB+t88xgSWrJVHeZ2IO2mVtihWY8c+4uBkVln4GZ9MtPMMIB8H0RD+B2O2k/1veHneY+Qya7QhxfCfPl5Oy0mVdEZedtd9gH3/dOcQKoArbcfZuei/GzNORBhPRK4Wv9KhS+Rck8kdfvMHnN0crPYE9Y6V5cw+EK8Iy8qoldvNHW2/2GbkSuC0uNPsuwxsRMYk4KxoWamwWpVPL0VWZMdL8nqBFAOslNYoy6/fTjhDE6OkNuOk4ubIYQyB openpgp:0xAA41D4CD
|
Loading…
Add table
Reference in a new issue