diff --git a/system/authorized_key b/system/authorized_key index 322d2c4348d..a60d17c9a0b 100644 --- a/system/authorized_key +++ b/system/authorized_key @@ -256,7 +256,7 @@ def writekeys(module, filename, keys): option_strings = [] for option_key in sorted(options.keys()): if options[option_key]: - option_strings.append("%s=%s" % (option_key, options[option_key])) + option_strings.append("%s=\"%s\"" % (option_key, options[option_key])) else: option_strings.append("%s " % option_key)