ssh_config: Include drop-in configs, set host defaults

This commit is contained in:
Lexi / Zoe 2023-08-20 18:45:59 +02:00
parent 17e20bc020
commit 5a0c45b1bf
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
2 changed files with 16 additions and 11 deletions

View File

@ -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_*

View File

@ -0,0 +1,8 @@
Host toriel
ForwardAgent yes
Host toriel-dropbear
HostName 192.168.16.4
User root
RemoteCommand cryptroot-unlock
RequestTTY yes