Skip to content

Restrict "serve" command to "create" operation only #162

@xdml

Description

@xdml

This is security enhancement as well as --restrict-to-path option for server command.

Usage

Doing remote backups over ssh using ssh key based authentication.

Backup admin restricts serve command on server for automated ssh keys (without passphrase) to create command only (executed on machines).

If machine is compromised, attacker gets access to ssh key, that is restricted to create command only and will not be able to list, delete, prune, extract, mount and other commands from machine.

Sys admin should have another ssh key (agent forwarded personal key or shared stored with passphrase) that is not restricted to create command only.

In large environments kerberos should be used insead ssh key based authentication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions