To better specify my question, I have decided that I want every keystroke to be piped to a package called safecat which uses the maildir algorithm, which is in turn delivering it's output to a remote machine via ssh.
I just feel like when i do mess up, which i will, it would be really cool have that record of exactly what i did on that particular machine to result in such hilarious catastrophe.
If there is a totally different means to achieve the same result, I'm not fussed, but from what i can tell the final keystrokes are difficult to recover.
~/.bash_historya named pipe and having safecat read from the pipe? And, for the comment from @HackSaw,scriptmay be too noisy. For a simple example,ps -feis one line with six characters but it produced 887 lines of output on one of my systems.