projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix generation of known_hosts file.
[mirror/userdir-ldap.git]
/
ud-generate
diff --git
a/ud-generate
b/ud-generate
index
d2f00ab
..
f3ffc4c
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-734,7
+734,7
@@
def GenSSHKnown(l,File):
else: IPAdresses += [addr[1]]
for I in x[1]["sshRSAHostKey"]:
else: IPAdresses += [addr[1]]
for I in x[1]["sshRSAHostKey"]:
- Line = "%s
,%s
%s" %(",".join(HostNames + IPAdresses), I);
+ Line = "%s %s" %(",".join(HostNames + IPAdresses), I);
Line = Sanitize(Line) + "\n";
F.write(Line);
# Oops, something unspeakable happened.
Line = Sanitize(Line) + "\n";
F.write(Line);
# Oops, something unspeakable happened.