def METHOD_NAME(self):
    sm = SoftwareManager()
    if not sm.check_installed("openssh*") and not sm.install("openssh*"):
        self.cancel("Fail to install openssh required for this test.")
    self.ip = self.params.get('ip', default='')
    self.user_name = self.params.get('user_name')
    self.password = self.params.get('password')
    self.prompt = self.params.get('prompt', default='')