Re: SSHD question

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

 



At 10:11 AM +0100 11/13/07, Joachim Backes wrote:
>Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
>	micalg=sha1; boundary="------------ms040107030400030101020109"
>
>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 found no option for this (I think, it is no Fedora problem).
>
>All help is appreciated.

To be useful, sshd will need to execute some command, but you can set the
ForceCommand option in /etc/ssh/sshd.config to choose that command.  See
`man sshd_config`.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


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

  Powered by Linux