def METHOD_NAME(self):
    connection = paramiko.SSHClient()
    # if ip address not in known_hosts, ignore known_hosts error
    connection.set_missing_host_key_policy(paramiko.AutoAddPolicy())
    try:
        connection.connect(self.ip, username=self.username, password=self.password)
    except:
        connection = None
    return connection