ssh logging

I've set up basic public key sharing, with no passphrases, to test automated ssh logins to remote servers. That works fine. When I login, the commands I use are recorded in my .sh_history file. However, when I perform the ssh login with the commands bound to ssh [eg. ssh host1 ls /dev ] the commands are not being recorded in my .sh_history file.

Can anyone recommend a way to force the commands to be recorded in that type of scenario?

[452 byte] By [normanszcyrek] at [2007-11-26 7:09:50]
# 1
If you do it for security reasons, you can enable BSM Auditing. You can e.g. enable it on a per user basis, to reduce the amount of audit trails...
Burana400 at 2007-7-6 16:01:11 > top of Java-index,General,Sys Admin Best Practices...