diff --git a/paramiko/agent.py b/paramiko/agent.py index 2ff7b449b..1dc99b18a 100644 --- a/paramiko/agent.py +++ b/paramiko/agent.py @@ -390,7 +390,7 @@ def __init__(self): conn = get_agent_connection() if not conn: return - self._connect() + self._connect(conn) def close(self): """