ssh proxy / socks

ssh -D 8080 -f -C -q -N user@remote.host # establece canal
curl -x socks5h://0:8080 --remote-name --location https://example.com # descarga a través del remote.host
ssh -O exit user@remote.host # desconexión del canal
  • linux/ssh/proxy.txt
  • Darrera modificació: 22/11/2023 03:14
  • per mate