summaryrefslogtreecommitdiffhomepage
path: root/demos/demo.py
diff options
context:
space:
mode:
Diffstat (limited to 'demos/demo.py')
-rwxr-xr-xdemos/demo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/demo.py b/demos/demo.py
index 1eb33e82..e5efc948 100755
--- a/demos/demo.py
+++ b/demos/demo.py
@@ -131,6 +131,7 @@ try:
print '*** Unable to open host keys file'
keys = {}
+ # check server's host key -- this is important.
key = t.get_remote_server_key()
if not keys.has_key(hostname):
print '*** WARNING: Unknown host key!'