Re: SSHD question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13Nov2007 10:11, Joachim Backes <joachim.backes@xxxxxxxxxxxxxx> wrote:
> How to prevent sshd on a remote from executing commands given by "ssh 
> remote_machine <some command>" (AllowGroups and AllowUsers in 
> /etc/sshd_config is only good for/against logging in).

I normally add a "comand=" field to the public key in the target user's
.ssh/authorized_keys file. This is described under "man sshd".
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

You can tune a file system, but you can't tune a fish.
        - tunefs(1) manual entry


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux