Python Forum
How to keep paramiko ssh session open after loggin in using python?
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to keep paramiko ssh session open after loggin in using python?
#2
Then you don't want to use paramiko, as that doesn't leave connections open.  The answer given in the SO article you linked is to simply use subprocess to call the system's ssh command.  In your case, you'd probably supply stdin to subprocess.
Reply


Messages In This Thread
RE: How to keep paramiko ssh session open after loggin in using python? - by nilamo - Aug-10-2017, 07:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Paramiko SSH Session -> Authentification failed werwurm01 0 6,020 Mar-02-2021, 08:15 AM
Last Post: werwurm01
  Python Paramiko, continuing the interaction for a command in interactive shell aditya_g01 0 8,874 Mar-13-2018, 04:51 AM
Last Post: aditya_g01
  Python error handling Paramiko pythondiy 2 22,388 Aug-22-2017, 02:22 AM
Last Post: oldseven

Forum Jump:

User Panel Messages

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