Il terminale non è un'applicazione netta. Forse è meglio dire, nel tuo caso, terminale è contenitore per applicazioni rete come ssh, telnet, lftp, wget, lynx...
Modifica il tuo:
sudo -H gedit /etc/profile.d/proxy.sh
Inserisci i dettagli in questo formato.
export http_proxy=http://username:password@proxyhost:port/
export ftp_proxy=http://username:password@proxyhost:port/
export telnet_proxy=http://username:password@proxyhost:port/
Questo è per quando si utilizzano wget, ftp, lftp, telnetin terminal
sshnon ha SOCKSsupporto client nativo , è necessario utilizzare a ProxyCommandper quello, ad esempio con socat:
ssh -o ProxyCommand='socat - SOCKS4A:myproxy:%h:%p,socksuser=nobody' user@host
O usa cose come tsocksusare in modo trasparente SOCKSper il TCPtraffico.
Per SOCKS5con socat 2:
ssh -o ProxyCommand='socat - "SOCKS5:%h:%p|tcp:myproxy:1080"' user@host
Per il metodo HTTP CONNECT proxy con socat 2:
ssh -o ProxyCommand='socat - "PROXY:%h:%p|tcp:myproxy:80"' user@host