authorized_keys: Fix option syntax
> `bad key options: missing start quote`
This commit is contained in:
@@ -60,7 +60,7 @@ mkdir -p "${RPM_BUILD_ROOT}%{_presetdir}"
|
||||
|
||||
%posttrans
|
||||
if [ $1 -eq 1 ]; then
|
||||
printf 'expiry-time=%s,restrict,pty %s\n' \
|
||||
printf 'expiry-time="%s",restrict,pty %s\n' \
|
||||
"$(date -d +1hour +%Y%m%d%H%M)" \
|
||||
"$(cat %{dch_datadir}/host-provisioner.key)" \
|
||||
>> /root/.ssh/authorized_keys
|
||||
|
||||
Reference in New Issue
Block a user