summaryrefslogtreecommitdiffhomepage
path: root/demo.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2003-12-31 06:31:43 +0000
committerRobey Pointer <robey@lag.net>2003-12-31 06:31:43 +0000
commit3a8887a42083dda796f50e1e9b32f625abcb5d5a (patch)
treeb6e415c97ab629ed09309826ee7327ae49f42ab7 /demo.py
parentdaa8a2ec0d6d3706ea3864fcab5ed56597f3612a (diff)
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-19]
renamed auth_key -> auth_publickey; more docs. renamed Transport.auth_key to auth_publickey for consistency. and lots more documentation.
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 963f7d83..9bea9876 100755
--- a/demo.py
+++ b/demo.py
@@ -108,7 +108,7 @@ try:
if len(path) == 0:
path = default_path
key.read_private_key_file(path)
- t.auth_key(username, key, event)
+ t.auth_publickey(username, key, event)
elif auth == 'd':
key = paramiko.DSSKey()
default_path = os.environ['HOME'] + '/.ssh/id_dsa'