mirror of
https://github.com/atmoz/sftp.git
synced 2025-01-05 13:28:47 -05:00
force newline during authorized_keys file build
This commit is contained in:
parent
302390e67c
commit
42b4088690
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ if [ -d "$userKeysQueuedDir" ]; then
|
|||
userKeysAllowedFile="/home/$user/.ssh/authorized_keys"
|
||||
|
||||
for publickey in "$userKeysQueuedDir"/*; do
|
||||
cat "$publickey" >> "$userKeysAllowedFileTmp"
|
||||
echo -e "$(cat "$publickey")" >> "$userKeysAllowedFileTmp"
|
||||
done
|
||||
|
||||
# Remove duplicate keys
|
||||
|
|
Loading…
Reference in a new issue