View Single Post
Old 08-19-2020, 07: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