missing quotes around pub key
This commit is contained in:
parent
2838f12e75
commit
ddb44b4e09
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ mkdir -p /opt/stack
|
|||
useradd stack -s /bin/bash -d /opt/stack -G libvirtd || true
|
||||
echo stack:pass | chpasswd
|
||||
mkdir -p /opt/stack/.ssh
|
||||
echo `cat ~/.ssh/id_rsa.pub` > /opt/stack/.ssh/authorized_keys
|
||||
echo "`cat ~/.ssh/id_rsa.pub`" > /opt/stack/.ssh/authorized_keys
|
||||
chown -R stack /opt/stack
|
||||
chmod 700 /opt/stack/.ssh
|
||||
chmod 600 /opt/stack/.ssh/authorized_keys
|
||||
|
|
Loading…
Reference in a new issue