Terminal output disappearing after SSH into cygwin
Thu Jan 21 15:13:59 GMT 2021
On 21.01.2021 14:08, Martyn B wrote:
> Hi list!
> Usually after an ssh session, the lines in my terminal are persistant
> after exiting the session. This is what I need.
> But at the moment when I exit an ssh session into Cygwin, the terminal
> gets cleared and all session information is lost.
> How can I change this behavior? I need the commands and their output.
> Server: Cygwin 3.1.4-1 on Windows 10 (1909), CYGWIN cygsshd
> Client: Ubuntu 20.04 / Gnome terminal, xterm
ssh <your connection> |& tee /tmp/ssh.log
you can also use screen logging capability
More information about the Cygwin