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
|
||||
|
||||
Host afra-door
|
||||
HostName 172.23.42.69
|
||||
ProxyJump afra.fe80.eu
|
||||
User pi
|
||||
|
||||
Host toriel-dropbear
|
||||
HostName 192.168.16.4
|
||||
User root
|
||||
RemoteCommand cryptroot-unlock
|
||||
RequestTTY yes
|
||||
|
||||
# Host defaults
|
||||
Host *
|
||||
IdentitiesOnly yes
|
||||
SendEnv LANG LC_*
|
||||
|
|
|
|||
|
|
@ -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