Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

telnet via jump host using python

from jumpssh import SSHSession

# establish ssh connection between your local machine and the jump server
gateway_session = SSHSession('gateway.example.com','my_user', password='my_password').open()

# from jump server, establish connection with a remote server
remote_session = gateway_session.get_remote_session('remote.example.com',password='my_password2')
 
PREVIOUS NEXT
Tagged: #telnet #jump #host #python
ADD COMMENT
Topic
Name
1+9 =