remove not neated free space at the end of authorized_keys
This commit is contained in:
@@ -64,7 +64,6 @@ function make_and_import_ssh_keys {
|
|||||||
cat "/sshkeys/clients/$key" >> "/.ssh/authorized_keys"
|
cat "/sshkeys/clients/$key" >> "/.ssh/authorized_keys"
|
||||||
echo "" >> "/.ssh/authorized_keys"
|
echo "" >> "/.ssh/authorized_keys"
|
||||||
done
|
done
|
||||||
echo "" >> "/.ssh/authorized_keys"
|
|
||||||
|
|
||||||
chown -R "$USER":"$USER" "/.ssh"
|
chown -R "$USER":"$USER" "/.ssh"
|
||||||
chmod 700 "/.ssh"
|
chmod 700 "/.ssh"
|
||||||
|
|||||||
Reference in New Issue
Block a user