summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-06-30 18:35:39 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-06-30 18:35:39 -0700
commita7aa567808c8578e8c11108daea23adc4dd83b62 (patch)
treed089a5bb517ef251508e42c63b9624dfa9d12207
parent43761f26318217cb31681d7019e43fbcfc72f572 (diff)
add xyzka to hosts
-rw-r--r--etc/hosts3
-rw-r--r--home/xyz/.ssh/config2
2 files changed, 4 insertions, 1 deletions
diff --git a/etc/hosts b/etc/hosts
new file mode 100644
index 00000000..c532033b
--- /dev/null
+++ b/etc/hosts
@@ -0,0 +1,3 @@
+# Static table lookup for hostnames.
+# See hosts(5) for details.
+103.212.81.31 xyzka
diff --git a/home/xyz/.ssh/config b/home/xyz/.ssh/config
index dbf90d23..9f02894b 100644
--- a/home/xyz/.ssh/config
+++ b/home/xyz/.ssh/config
@@ -25,5 +25,5 @@ Host pp
User xyz
Host ka
- HostName 103.212.81.31
+ HostName xyzka
User xyz