From fe65a913b440f529c831f172486103feadcdfb94 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 25 Oct 2023 08:52:41 +0000 Subject: new files --- home/xyz/.ssh/config | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 home/xyz/.ssh/config (limited to 'home/xyz/.ssh') diff --git a/home/xyz/.ssh/config b/home/xyz/.ssh/config new file mode 100644 index 00000000..7e857975 --- /dev/null +++ b/home/xyz/.ssh/config @@ -0,0 +1,29 @@ +# 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 + User xyz + +Host aur aur.archlinux.org + Hostname aur.archlinux.org + User aur + +Host insp + HostName xyzinsp.local + User xyz + +Host pi raspberrypi.local + HostName raspberrypi.local + User pi + +Host pp + HostName xyzpp.local + User xyz + +Host ka + HostName xyzka.kyun.li + User xyz -- cgit v1.2.3-70-g09d2