YunoHost-Apps / borgserver_ynh

Borg server package for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
8 stars 4 forks source link

bad line added to authorized_keys #4

Closed e-lie closed 5 years ago

e-lie commented 5 years ago

The installation of borgserver_ynh lead to this line added to authorized_keys: command="borg serve --storage-quota 10G --restrict-to-repository /home/<user>/backup",no-pty,no-agent-forwarding,no-port-forwarding,no-X11-forwarding,no-user-rc ssh-ed25519 <KEYAAAAC3NzaC1lZDI1NTE5AAIIIIIIIIIIIIIIIIIIIIII1u8TD> root@<domain>

so the ssh connexion failed

to reproduce: just launched the installation on my stretch stable yunohost after added manually the gpg key as described here https://github.com/YunoHost-Apps/borg_ynh/issues/11

e-lie commented 5 years ago

ok, in fact this line is ok. This line state for limited borg access. "complete" ssh access is not necessary for backup.