You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've attached some sample code. I'm trying to get the exit status of commands, and also use the same connection to upload a file. You can see in the example that the command runs fine until I've used .sftp from the ssh connection. Also, if I do this after the sftp call it works:
I've attached some sample code. I'm trying to get the exit status of commands, and also use the same connection to upload a file. You can see in the example that the command runs fine until I've used .sftp from the ssh connection. Also, if I do this after the sftp call it works:
connection.sftp.close_channel()
connection.instance_variable_set('@sftp', nil)
I'm thinking there's a way to keep both channels open (for the sftp and the command) and still have it work.
Thanks for the great library. Let me know if I can help track this one down.
The text was updated successfully, but these errors were encountered: