How to send HTTP GET request from remote host using SSH connection in Python?
问题 I'm using an SSH connection with Paramiko. My code: client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(hostname=remote_host, username=remote_user, password=remote_password, port=remote_port) How to send HTTP GET request from connected remote host (use it like a proxy)? I've found solution according to the answer: with SSHTunnelForwarder( ssh_address_or_host=(remote_host, remote_port), ssh_username=remote_user, ssh_password=remote_password