Add linebreak between multiple import pubkeys
This commit is contained in:
parent
0934b25a18
commit
c0450dcbd8
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ rm -f /home/user/.ssh/authorized_keys
|
|||
for key in /docker/keys/*.pub ; do
|
||||
echo "- adding key $key"
|
||||
cat $key >> /home/user/.ssh/authorized_keys
|
||||
printf \\\n >> /home/user/.ssh/authorized_keys
|
||||
done
|
||||
chown -R user /home/user/.ssh
|
||||
|
||||
|
|
Loading…
Reference in a new issue