ForceCommand and ~/.ssh/rc

Mikhail Terekhov
Thu, 20 Mar 2008 22:19:02 -0000

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