Re: SSHD question

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

 



Hi Joachim,

Joachim Backes 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 found no option for this (I think, it is no Fedora problem).
> 

AFAIK there is no such option, and I would say as long as the user
has a login shell there is no way to prevent this. But, what
is the difference between login and then issue a command or
"ssh remote_machine <some command>" anyway??

Alex
-- 
Alexander Apprich                science + computing ag
Senior System Engineer           Hagellocher Weg 71-75
phone   +49(0)7071 9457-291      D-72070 Tuebingen, Germany
fax     +49(0)7071 9457-211      www.science-computing.de

s+c certificates via  http://www.science-computing.de/cacert.crt
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 



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

  Powered by Linux