diff options
Diffstat (limited to 'home/xyz/.ssh/config')
-rw-r--r-- | home/xyz/.ssh/config | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/home/xyz/.ssh/config b/home/xyz/.ssh/config index cd1dd2c3..5dcab82d 100644 --- a/home/xyz/.ssh/config +++ b/home/xyz/.ssh/config @@ -1,3 +1,9 @@ +# be careful not to put this under `HOST xxx`, else only when ssh to that host will add keys to agent +# another approach is to put it under `HOST *` +# https://unix.stackexchange.com/a/577490/459013 +AddKeysToAgent yes + +# tabs and empty only for readability, without also works, not sure about newline Host studio HostName xyzstudio.local @@ -15,5 +21,3 @@ Host pi raspberrypi.local Host phone danctnix.local HostName danctnix.local User alarm - -AddKeysToAgent yes |