ForceCommand and ~/.ssh/rc

Mikhail Terekhov termim at gmail.com
Fri Mar 21 09:19:02 EST 2008


Hi,

As I understand the "ForceCommand" in the sshd_confing file is meant to
ignore any command supplied by the client, but if user's home is shared by
server and client machines over network (ex. NFS) then user can still put
something else into ~/.ssh/rc file and overcome this limitation. Is it
possible to disable execution of the ~/.ssh/rc file in such a case?

Thaks,
Mike


More information about the openssh-unix-dev mailing list