diff --git a/paramiko/config.py b/paramiko/config.py index e9c1aaf..91b691a 100644 --- a/paramiko/config.py +++ b/paramiko/config.py @@ -171,8 +171,7 @@ class SSHConfig (object): ret = {} for match in matches: - for key in match['config']: - value = match['config'][key] + for key, value in match['config'].iteritems(): if key == 'identityfile': if key in ret: ret['identityfile'].extend(value)