I am using a python script to launch remote linux commands from my local machine. The target(s) is/are a list of server(s). I am able to launch the commands no problem; however, the commands result in log files on the target. I would like to pull down these log files to my local machine after they are written (pull them down programmatically).
Is there a way I can "PULL" a file down from a remote machine via a secure connection in such a way that the transfer is initialized locally?
Thanks in advance!