195
195
server_key = t.get_remote_server_key()
196
196
server_key_hex = paramiko.util.hexify(server_key.get_fingerprint())
197
197
keytype = server_key.get_name()
199
199
our_server_key = SYSTEM_HOSTKEYS[host][keytype]
200
200
our_server_key_hex = paramiko.util.hexify(our_server_key.get_fingerprint())
202
202
our_server_key = BZR_HOSTKEYS[host][keytype]
203
203
our_server_key_hex = paramiko.util.hexify(our_server_key.get_fingerprint())
205
205
warning('Adding %s host key for %s: %s' % (keytype, host, server_key_hex))
208
208
BZR_HOSTKEYS[host][keytype] = server_key
209
209
our_server_key = server_key