Bartosz Kaczyński <bkaczyn...@posteo.net> writes: > Hello TRAMP users,
Hi Bart, > I frequently use TRAMP with SSH to execute commands on remote servers. > However, I notice that TRAMP commands, such as: > > exec env TERM='dumb' INSIDE_EMACS='31.0.50,tramp:2.8.0-pre' ENV='' > HISTFILE=~/.tramp_history PROMPT_COMMAND='' > PS1=///a3baaba9ef094600cb66d45cb63c51ec\#\$ PS2='' PS3='' /bin/sh -i \ > > are left in the remote server's bash history. > > I would like to prevent TRAMP from leaving these traces in the bash > history. I have reviewed the documentation but couldn't find a direct > solution. > > Is there a way to configure TRAMP or the remote shell to avoid this? Any > help or guidance would be greatly appreciated. Read the Tramp manual at (info "(tramp) Remote processes") , subsection "6.6.2 Managing remote shell history". > Thank you! > Bart Best regards, Michael.
