Log remote execution over SSH

If a user execute commands remotely over ssh :

[user@remote ~] $ ssh USERNAME@SERVER COMMANDS

How the SERVER administrator can log those COMMANDS executed in a "not a tty" session ?

I searched for my question and get the following suggestions:

Anybody give help how to do this ? what the content of "/bin/bash " ??!!

Krusty stated he had modified the /etc/profile to start "script"... here:

But I don't know how to do this ? I added "script" to /etc/profile, Nothing happen !

---------- Post updated 09-26-11 at 05:42 PM ---------- Previous update was 09-25-11 at 11:19 PM ----------

sorry, I confirm adding "script" to /etc/profile logs users commands in a normal session :
[user@remote ~] $ ssh USERNAME@SERVER

But this does not help logging remote commands execution mentioned here:
[user@remote ~] $ ssh USERNAME@SERVER COMMANDS

Any help how to :
Create "/bin/bash " (notice the space) that was a wrapper around the script-command ???

if you want to monitor a users activity you should use the audit subsystem.