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
very simple:
ssh <your connection> |& tee /tmp/ssh.log
you can also use screen logging capability
https://stackpointer.io/unix/linux-ssh-session-logging/564/
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple