Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-19-2020, 06:50 AM
tendhar33 tendhar33 is offline
Registered User
 
Join Date: Aug 2020
Posts: 1
Post Python - Paramiko getting channel closed on exec channel

Hi Team,

I am trying to create a python app which connects to our server running Vshell and executes commands. I am using pythong's paramiko library, the issue is that i can only execute one command and i receive channel closed exception.
I am using exec_command() method of Paramiko which should open new channel every time it's called. By the way the app works perfectly fine on our test server which run on OpenSSH server.
I read that the OpenSSH support exec channel and hence i believe is the reason it's working.
Could you please tell me if Vshell has support for exec channel.
Reply With Quote
 

Tags
paramiko , python

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:56 AM.