Terminal output disappearing after SSH into cygwin

Martyn B mb@stefanist.com
Sat Jan 23 13:22:50 GMT 2021



Thomas Wolff wrote on 22.01.21 17:16:

> The clear is conditional. Maybe the value of $SHLVL after ssh login has 
> changed somehow?

It's 1 like in Cygwin Terminal on the Windows box

martyn@linuxbox:~$ ssh Winuser@<remote IP>
Last login: Sat Jan 23 13:34:48 2021 from <local IP>

Winuser@WINDOWS-BOX ~
$ echo $SHLVL
1


More information about the Cygwin mailing list