multi ssh operations in python