Here is what I am looking for:
A way to log individual SSH sessions on SunOS. I would like to have the files kept separate based upon the hostname of the device I am SSHing into. I am only using the CLI interface so GUI tools will not work. Some of the options I am considering include either using the script command or the screen utility. If someone could explain how they log multiple sessions to multiple devices via an automated method. So for example if you could include either a .bashrc example or a script that I could use so I am not manually entering the same commands every time I login that would be ideal.
I was thinking perhaps a script could first call either screen or script and begin the logging based on the hostname I am SSHing into and then call SSH to start the connection. Thanks!