matching on client public key

Igor Bukanov igor at mir2.org
Tue Feb 17 21:06:17 AEDT 2015


Thanks, I missed that authorized_keys can contain all the configuration I need.

On 17 February 2015 at 10:01, Gert Doering <gert at greenie.muc.de> wrote:
> Hi,
>
> On Tue, Feb 17, 2015 at 07:51:27AM +0100, Igor Bukanov wrote:
>> My case is a backup login that needs to run as a root to access all
>> the files and where I want to use ForceCommand to allow the login only
>> to execute a particular command and yet still allow normal root
>> logins.
>
> You can put command="..." in $HOME/.ssh/authorized_keys
>
> gert
> --
> USENET is *not* the non-clickable part of WWW!
>                                                            //www.muc.de/~gert/
> Gert Doering - Munich, Germany                             gert at greenie.muc.de
> fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de


More information about the openssh-unix-dev mailing list