Skip to content

Commit fa45817

Browse files
author
digoal
committed
fix
1 parent fc1c834 commit fa45817

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

202310/20231029_01.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ user="digoal"
190190
host="ecs公网IP"
191191
port="22"
192192
pwd="digoal用户密码"
193+
# OR locallistenip="0.0.0.0" // 监听所有接口
193194
locallistenip="127.0.0.1"
194195
locallistenport="1111"
195196
@@ -206,8 +207,8 @@ expect eof
206207
EOF
207208
208209
# 设置shell中使用代理的环境变量
209-
# 设置所有请求代理都走 127.0.0.1:1111
210-
echo "export all_proxy=socks5://$locallistenip:$locallistenport"
210+
# 设置所有请求代理都走 127.0.0.1:$locallistenip
211+
echo "export all_proxy=socks5://127.0.0.1:$locallistenport"
211212
212213
# 如果要取消all_proxy代理设置, 执行如下unset即可
213214
# unset all_proxy

0 commit comments

Comments
 (0)