Write all ssh commands with ruby