SSHD question

Tony Nelson tonynelson at georgeanelson.com
Tue Nov 13 16:09:56 UTC 2007


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 at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list