mirror of
https://github.com/YunoHost-Apps/borgserver_ynh.git
synced 2024-09-03 20:36:20 +02:00
oups
This commit is contained in:
parent
89e1a991fd
commit
42e9a03358
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ create_ssh_config() {
|
|||
|
||||
mkdir -p "$ssh_dir"
|
||||
touch "$ssh_dir/authorized_keys"
|
||||
echo "$ssh_opts $public_key" >> "$ssh_dir/authorized_keys"
|
||||
echo "$ssh_opts $public_key" > "$ssh_dir/authorized_keys"
|
||||
|
||||
chown -R "$ssh_user:$ssh_user" "$ssh_dir"
|
||||
chmod -R u=rwX,go=--- "$ssh_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue