Oct-21-2020, 03:49 PM
(Oct-21-2020, 03:27 PM)buran Wrote: did you check my second post and how to wait till command execution ends? Also, of you need to provide input to remote script, shouldn't you write to stdin somewhere in your code? All you do is to read output and print it
as to writing to file - just open a file for writing and then instead of/along with print, write to the file
I did, yes. So the ssh.exec_command() would follow that snapshot command only? correct?
And i got the write to file, thank you. I appreciate your assistance as I am new to this.