[ssh] Cleaning up shells and ssh configurablility when not at home
This commit is contained in:
@ -97,8 +97,13 @@ Host *.local *.service
|
||||
VerifyHostKeyDNS no
|
||||
|
||||
## Jail hosts all need a jump
|
||||
Host *.local 192.168.40.* *.service
|
||||
Match exec "onsubnet 192.168.40." host *.service
|
||||
User root
|
||||
IdentityFile ~/.ssh/jails
|
||||
Hostname %h
|
||||
#ProxyJump bastion.unbl.ink
|
||||
|
||||
Match exec "onsubnet --not 192.168.40." host *.service
|
||||
User root
|
||||
IdentityFile ~/.ssh/jails
|
||||
Hostname %h
|
||||
ProxyJump bastion.unbl.ink
|
||||
|
||||
Reference in New Issue
Block a user