Fix macOS pssh logging caused by line buffering
If you want to log the output of an SSH connection under macOS with pssh from Homebrew, the following error occurs: line buffering (buffering=1) isn't supported in binary mode In the pssh command this happens when you define the -o option for output. pssh -t 0 -p 10 -l root -h host.list -o logs 'command' In order to log the output of the SSH session, we have to make a small adjustment to the Python psshlib....