Suivre

Someone has asked me how I restrict an SSH public key to only allow to SCP to a predefined directory

Here is the script I use for that : gist.github.com/Zoddo/035784d6

For example, I use it on the server that stores backups of some of my VMs (so, they don't have a full SSH access to that server)

@DaD rssh can restrict to scp (for example) but can't restrict to a predefined directory.

@DaD Yes, but that's more complex (and more secure as well)

Inscrivez-vous pour prendre part à la conversation
Mastodon - Zoddo.fr

L'instance Mastodon de Zoddo