aristanetworks / cvprac

Other
46 stars 47 forks source link

add socks5 support #236

Closed pvinci-arista closed 1 year ago

pvinci-arista commented 1 year ago

When you don't have https access to cvp but have ssh.

Start a terminal session

#ssh -l <cvp_shell_user> <cvp_ip> -D 8080 -N

Then in a new window:

#export HTTPS_PROXY='socks5h://127.0.0.1:8080'
#export HTTP_PROXY='socks5h://127.0.0.1:8080'
#python3 ./my_cvprac_program.py
mharista commented 1 year ago

Hi @pvinci-arista

I am adding this in another PR that also adds configuration of the proxies via the requests.Session object. Closing this PR because of this.

mharista commented 1 year ago

Moved to PR #243