log a non interactive ssh session

Hello,

I want log a non interactive ssh session.
I know history -w command doesn’t work in non interactive shell. I search other means.

someone can help me?

Thank you

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can you describe what you mean by a non-interactive shell? What is your
end goal here?

Good luck.

spougne86 wrote:
> Hello,
>
> I want log a non interactive ssh session.
> I know history -w command doesn’t work in non interactive shell. I
> search other means.
>
> someone can help me?
>
> Thank you
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI9Ly53s42bA80+9kRApUaAJ4pixzzJtBDYL+Cz0zZkm4y/v4pQQCff7vg
X+1FuSfB7lkjoOH8DviaXkU=
=q2hd
-----END PGP SIGNATURE-----