refresh-auth
changeset 11 f3c73c9fc0ff
parent 6 505d4789f91c
child 15 f3654416d178
equal deleted inserted replaced
10:524b4a45ef0a 11:f3c73c9fc0ff
     9 import os
     9 import os
    10 import os.path
    10 import os.path
    11 import re
    11 import re
    12 
    12 
    13 if len(sys.argv) != 2:
    13 if len(sys.argv) != 2:
    14     sys.stderr.write("refresh-auth: wrong number of arguments (%s)" % sys.argv)
    14     sys.stderr.write("refresh-auth: wrong number of arguments (%s)\n" % sys.argv)
    15     sys.exit(-1)
    15     sys.exit(-1)
    16 
    16 
    17 wrappercommand = sys.argv[1]
    17 wrappercommand = sys.argv[1]
    18 akeyfile = os.path.expanduser("~/.ssh/authorized_keys")
    18 akeyfile = os.path.expanduser("~/.ssh/authorized_keys")
    19 
    19