Privileged session and session capture can be achieved through the following methods:
pcksh
cpcksh
Secure Shell Relay