diff --git a/paramiko/client.py b/paramiko/client.py index 1644d46..2c079e6 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -320,8 +320,6 @@ class SSHClient (object): else: key_filenames = key_filename self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys) - if agent_forwarding: - self._forward_agent() def close(self): """