Fix colours in sshproxy
This commit is contained in:
parent
ce31dbea7f
commit
b6b7f698f4
@ -17,7 +17,7 @@ local port="1080"
|
||||
[[ ${#o_port} -eq 2 ]] && port=${o_port[2]}
|
||||
|
||||
print -P "%F{12}starting SOCKS5 proxy over SSH tunnel to" \
|
||||
"%F{magenta}${host}%f %F{12}on %F{13}[::1]:${port}%f %F{12}…"
|
||||
print -P "%F{12}curl environment variable:" \
|
||||
"%F{13}${host}%f %F{12}on%f %F{13}[::1]:${port}%f %F{12}…%f"
|
||||
print -P "%F{12}curl environment variable:%f" \
|
||||
"%F{13}ALL_PROXY='socks5://[::1]:${port}'%f"
|
||||
ssh -D "[::1]:${port}" -N -T ${host}
|
||||
|
Loading…
x
Reference in New Issue
Block a user