When a command like tar -xf - is issued over SSH, the lone hyphen appearing at the end of this command indicates that tar is expecting its input from stdin.
How to log the input to this unusual command with log-user-session so I can capture this stdin input and convert it to a .tar file for future analysis ?
Also, I am having problems monitoring the I/O of the command scp -pf.
BTW: the "undocumented" -f switch is described in section 3.8.1 here.
When a command like
tar -xf -is issued over SSH, the lone hyphen appearing at the end of this command indicates thattaris expecting its input fromstdin.How to log the input to this unusual command with
log-user-sessionso I can capture thisstdininput and convert it to a.tarfile for future analysis ?Also, I am having problems monitoring the I/O of the command
scp -pf.BTW: the "undocumented"
-fswitch is described in section 3.8.1 here.