Skip to content

Instantly share code, notes, and snippets.

View XDo0's full-sized avatar
🪐
Working from home

D0nnie XDo0

🪐
Working from home
View GitHub Profile
@yougg
yougg / proxy.md
Last active November 17, 2024 03:28
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)