I am trying to log a terminal with the ssh user@ip | tee -a test.log command. But, when I push backspace it prints in the log like: pwe[J[J[Jexit(for example). Is there any specific option that i can erase the backspace, etc chars and write only what I type in the end?
Print proper log file from a terminal session
scripting;terminal;logs