ssh_config: Include drop-in configs, set host defaults
This commit is contained in:
parent
17e20bc020
commit
5a0c45b1bf
19
.ssh/config
19
.ssh/config
|
|
@ -1,13 +1,10 @@
|
||||||
|
# Include drop-in configurations
|
||||||
|
Include ~/.ssh/config.d/*.conf
|
||||||
|
|
||||||
|
# Global configuration
|
||||||
AddKeysToAgent yes
|
AddKeysToAgent yes
|
||||||
|
|
||||||
Host afra-door
|
# Host defaults
|
||||||
HostName 172.23.42.69
|
Host *
|
||||||
ProxyJump afra.fe80.eu
|
IdentitiesOnly yes
|
||||||
User pi
|
SendEnv LANG LC_*
|
||||||
|
|
||||||
Host toriel-dropbear
|
|
||||||
HostName 192.168.16.4
|
|
||||||
User root
|
|
||||||
RemoteCommand cryptroot-unlock
|
|
||||||
RequestTTY yes
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
Host toriel
|
||||||
|
ForwardAgent yes
|
||||||
|
|
||||||
|
Host toriel-dropbear
|
||||||
|
HostName 192.168.16.4
|
||||||
|
User root
|
||||||
|
RemoteCommand cryptroot-unlock
|
||||||
|
RequestTTY yes
|
||||||
Loading…
Reference in New Issue