use paramiko module to ssh host and do some actions