summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-04 06:51:51 +0000
committerXiao Pan <xyz@flylightning.xyz>2025-07-04 06:51:51 +0000
commit3117b9b561b1e481ad1bed90fc748680c02df2ad (patch)
treeb20576afa86b52b57e4db502e75c5b207d98e31e
parent73ef0b797f9bf65aeab152a16c014931a1f74037 (diff)
use wg ip for flylightning.xyz to temp workaround the issue of ca `ssh -6 gitolite@flylightning.xyz` and `ssh -4 gitolite@flylightning.xyz` both error; note this is after me config studio and ca wg forward
-rw-r--r--etc/hosts7
-rw-r--r--etc/ssh/ssh_config.d/my_ssh_config.conf2
2 files changed, 7 insertions, 2 deletions
diff --git a/etc/hosts b/etc/hosts
new file mode 100644
index 00000000..4e744102
--- /dev/null
+++ b/etc/hosts
@@ -0,0 +1,7 @@
+# Static table lookup for hostnames.
+# See hosts(5) for details.
+127.0.0.1 localhost
+::1 localhost
+
+10.0.0.3 flylightning.xyz git.flylightning.xyz mirrors.flylightning.xyz
+fdc9:281f:04d7:9ee9::3 flylightning.xyz git.flylightning.xyz mirrors.flylightning.xyz
diff --git a/etc/ssh/ssh_config.d/my_ssh_config.conf b/etc/ssh/ssh_config.d/my_ssh_config.conf
deleted file mode 100644
index a5f1fca3..00000000
--- a/etc/ssh/ssh_config.d/my_ssh_config.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-Host flylightning.xyz
- Port ssh-isp