Termux开启ipv6
vim $PREFIX/etc/ssh/sshd_config
AddressFamily any
ListenAddress ::
ListenAddress 0.0.0.0
重启:pkill sshd &&sshd
工具依赖:pkg install iproute2
查看:ip -6 addr list scope global |grep "inet6" | sed -n 's/.*inet6 \([0-9a-f:]\+\).*/\1/p' | head -n 1

浙公网安备 33010602011771号