summaryrefslogtreecommitdiff
path: root/home/xyz/.ssh
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-10-25 08:52:41 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-10-25 08:52:41 +0000
commitfe65a913b440f529c831f172486103feadcdfb94 (patch)
treefcb18ad2460b6d1f4163beecc7363705f9fd6d6b /home/xyz/.ssh
parentca118323ae9ae29468ce485f8ad230cbf0366bd1 (diff)
new files
Diffstat (limited to 'home/xyz/.ssh')
-rw-r--r--home/xyz/.ssh/config29
1 files changed, 29 insertions, 0 deletions
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