diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-10-12 09:51:18 +0200 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2013-04-27 20:36:45 -0700 |
commit | 1b928df15ec4b95b0f96f26dc3740f1a0a91ca4a (patch) | |
tree | 78b2edd9cbb3515cc4aafdaedb1d5291db6366af | |
parent | 81f87f1d5eb4fa89472114f45faa3a994fc7db7d (diff) |
do not write ,,garbage'' to known_hosts file(s)
-rw-r--r-- | paramiko/client.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index 4fa28e5c..493d5481 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -193,7 +193,6 @@ class SSHClient (object): self.load_host_keys(self.known_hosts) f = open(filename, 'w') - f.write('# SSH host keys collected by paramiko\n') for hostname, keys in self._host_keys.iteritems(): for keytype, key in keys.iteritems(): f.write('%s %s %s\n' % (hostname, keytype, key.get_base64())) |