Answers for "telent to remote device via jump ssh using python"

1

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')
Posted by: Guest on August-08-2020

Code answers related to "telent to remote device via jump ssh using python"

Python Answers by Framework

Browse Popular Code Answers by Language