git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rediret to tools/gensshkey.py
[monitor.git]
/
monitor
/
util
/
sshknownhosts.py
diff --git
a/monitor/util/sshknownhosts.py
b/monitor/util/sshknownhosts.py
index
2e05637
..
9fbedaa
100755
(executable)
--- a/
monitor/util/sshknownhosts.py
+++ b/
monitor/util/sshknownhosts.py
@@
-175,3
+175,5
@@
class SSHKnownHosts:
#return rec
return (host, ip, key, "PlanetLab_%s" % s_date)
+if __name__ == "__main__":
+ print "ERROR: Can not execute module as a command! Please use tools/getsshkey.py"