summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-02 22:25:08 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-07-02 22:25:08 -0700
commit86063fe8036a7f8dc309d1981bbe8499c07cab16 (patch)
tree8bd34463824e5623dda78a396a892de0a6bf528e
parentdeda85ecbe1c9fc3e7931df0c693bc3c65c05c77 (diff)
ib ssh change default to use ipv6
Because if I wg to ib, ssh will use ipv4 instead of ipv6. Because I use ipvlan on ib, so I can't connect to ib's ipv4 so I need to connect to ib's ipv6 instead.
-rw-r--r--home/xyz/.ssh/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/xyz/.ssh/config b/home/xyz/.ssh/config
index 90c96706..10f82f9d 100644
--- a/home/xyz/.ssh/config
+++ b/home/xyz/.ssh/config
@@ -46,3 +46,4 @@ Host aa
Host ib
Hostname ib.flylightning.xyz
User xyz
+ AddressFamily inet6