Merge pull request #7 from yapishu/patch-1
Add linebreak between multiple import pubkeys
This commit is contained in:
commit
c3b8ebe0ed
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
|
for key in /docker/keys/*.pub ; do
|
||||||
echo "- adding key $key"
|
echo "- adding key $key"
|
||||||
cat $key >> /home/user/.ssh/authorized_keys
|
cat $key >> /home/user/.ssh/authorized_keys
|
||||||
|
printf \\\n >> /home/user/.ssh/authorized_keys
|
||||||
done
|
done
|
||||||
chown -R user /home/user/.ssh
|
chown -R user /home/user/.ssh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue