help log ssh

Hi i have a problem in my servers (rhel 4.4 with openssh
openssh-3.9p1-8.RHEL4.15) i can't log commands get througth remote ssh


with "script" function i can log all commands user digit in session
(local and remote)

but if i launch:

# ssh test@xxxxxxxxxx ls -l

i have the list of file in /home/test but i can't log the command

any idea??