Fix colours in sshproxy

This commit is contained in:
tastytea 2022-04-17 07:12:12 +02:00
parent ce31dbea7f
commit b6b7f698f4
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -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}