chore: update ssh config and gitignore files
This commit is contained in:
3
.config/.gitignore
vendored
3
.config/.gitignore
vendored
@ -3,4 +3,5 @@
|
|||||||
!.gitignore
|
!.gitignore
|
||||||
!btop/
|
!btop/
|
||||||
btop/btop.log
|
btop/btop.log
|
||||||
!neofetch/
|
!neofetch/
|
||||||
|
!ssh/
|
33
.config/ssh/local
Normal file
33
.config/ssh/local
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
Host 192.168.178.*
|
||||||
|
User root
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
IdentityFile ~/.ssh/keys/prv
|
||||||
|
|
||||||
|
Host proxmox
|
||||||
|
HostName 192.168.178.99
|
||||||
|
|
||||||
|
Host mail-relay
|
||||||
|
HostName 192.168.178.102
|
||||||
|
|
||||||
|
Host amp
|
||||||
|
HostName 192.168.178.103
|
||||||
|
|
||||||
|
Host docker
|
||||||
|
HostName 192.168.178.104
|
||||||
|
|
||||||
|
Host oauth
|
||||||
|
HostName 192.168.178.105
|
||||||
|
|
||||||
|
Host immich
|
||||||
|
HostName 192.168.178.106
|
||||||
|
|
||||||
|
Host abiball
|
||||||
|
HostName 192.168.178.107
|
||||||
|
|
||||||
|
Host gitea
|
||||||
|
HostName 192.168.178.108
|
||||||
|
|
||||||
|
Host postgres
|
||||||
|
HostName 192.168.178.109
|
||||||
|
|
||||||
|
|
25
.config/ssh/vps
Normal file
25
.config/ssh/vps
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
Host vps-*.simonis.lol
|
||||||
|
User root
|
||||||
|
IdentityFile ~/.ssh/keys/prv
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
|
||||||
|
Host vps-1
|
||||||
|
HostName vps-1.simonis.lol
|
||||||
|
|
||||||
|
Host vps-2
|
||||||
|
HostName vps-2.simonis.lol
|
||||||
|
|
||||||
|
Host vps-3
|
||||||
|
HostName vps-3.simonis.lol
|
||||||
|
|
||||||
|
Host vps-4
|
||||||
|
HostName vps-4.simonis.lol
|
||||||
|
|
||||||
|
Host vps-5
|
||||||
|
HostName kjan.email
|
||||||
|
|
||||||
|
Host vps-6
|
||||||
|
HostName vps-6.simonis.lol
|
||||||
|
|
||||||
|
Host vps-7
|
||||||
|
HostName vps-7.simonis.lol
|
4
install
4
install
@ -30,4 +30,6 @@ echo
|
|||||||
|
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
|
||||||
./setup
|
echo "Include $HOME/.config/ssh/*" >> "$HOME/.ssh/config"
|
||||||
|
|
||||||
|
./setup
|
||||||
|
Reference in New Issue
Block a user