equal
deleted
inserted
replaced
26 if goodpathre.match(ffn) is None: |
26 if goodpathre.match(ffn) is None: |
27 # ignore any path that contains dodgy characters |
27 # ignore any path that contains dodgy characters |
28 continue |
28 continue |
29 keyname = ffn[5:] |
29 keyname = ffn[5:] |
30 prefix=('command="%s",no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding' |
30 prefix=('command="%s",no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding' |
31 % ('%s %s' % (wrappercommand, keyname)) |
31 % ('%s %s' % (wrappercommand, keyname))) |
32 kf = open(ffn) |
32 kf = open(ffn) |
33 try: |
33 try: |
34 for l in kf: |
34 for l in kf: |
35 akeys.write("%s %s\n" % (prefix, l.strip())) |
35 akeys.write("%s %s\n" % (prefix, l.strip())) |
36 finally: |
36 finally: |