Posted by Marius Voila
on April 25, 2013
in London, U.K .
— 0 comments This post contains 323 words
The problem - On my day to day job here at Rackspace Cloud I need to view/download log files from remote servers on a regular basis. The task of having to SSH to multiple servers just for getting log files was aching for some automation. This led me to Paramiko module, it “implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines”, bravo! just what I needed. Download Paramiko module here or just run pip install paramiko and then use this code to get the logs :