summaryrefslogtreecommitdiffhomepage
path: root/demo.py
diff options
context:
space:
mode:
Diffstat (limited to 'demo.py')
-rwxr-xr-xdemo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.py b/demo.py
index fc707e4a..069077d7 100755
--- a/demo.py
+++ b/demo.py
@@ -76,7 +76,7 @@ try:
# print repr(t)
keys = load_host_keys()
- keytype, hostkey = t.get_host_key()
+ keytype, hostkey = t.get_remote_server_key()
if not keys.has_key(hostname):
print '*** WARNING: Unknown host key!'
elif not keys[hostname].has_key(keytype):