Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building SSH tunnel?
#1
Hi Everyone,

Would like to know if anyone here has a sample of code related to ssh tunnel using pexpect and default libraries only?

Currently I'm not allowed to add or install and module/libraries on the clean room/remote server.

My target is to build an ssh tunnel from clean room ----> to another server(remote server) ----> ssh to device(cisco) and execute the command. All involved server are linux and most device are cisco.

During my testing, Im able to ssh to another remote server but cannot enter to the device since my connection break.

https://imgur.com/nZyvWRA

Hope you could help me, thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ssh tunnel connection dropped with Python achille 0 2,114 Jun-27-2021, 06:44 PM
Last Post: achille
  telnet from ssh tunnel oldfart 3 7,064 Jul-17-2020, 02:28 PM
Last Post: noobami99

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020