From 1b928df15ec4b95b0f96f26dc3740f1a0a91ca4a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 12 Oct 2012 09:51:18 +0200 Subject: [PATCH] do not write ,,garbage'' to known_hosts file(s) --- paramiko/client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/paramiko/client.py b/paramiko/client.py index 4fa28e5..493d548 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()))