fix bug in ssh_op