188.8.131.52 is dummy ip address.
ssh username and password is dummy.
from sshtunnel import SSHTunnelForwarder import ui with SSHTunnelForwarder( 'serveripaddress', ssh_username='user', ssh_password='pass', remote_bind_address=('127.0.0.1',80), local_bind_address=('127.0.0.1',80) ) as server: wv = ui.WebView() wv.load_url('http://127.0.0.1') #wv.load_url('https://www.google.co.jp') wv.present('panel')
I also put apache in the jump server for testing.
I tried to change the source code, but I was logged in with ssh.However, the ssh session seems to be closed immediately and the process will not continue.