Logging commands executed by remote shell scripts
- by user145836
I've noticed that when running a script that connects to a number of our servers (to essentially run batch commands) that the commands aren't logged in the user's .sh_history or .bash_history files. Is there a place where this is logged (assuming the script itself isn't doing the logging and I'm not tee'ing the output anywhere)?
I'm talking specifically about AIX, but I would assume this question applies to all the *nix flavors.
Thanks!