Home » Questions » Computers [ Ask a new question ]

How to prevent clearing of terminal output when I "exit" an SSH session?

How to prevent clearing of terminal output when I "exit" an SSH session?

This is the situation: I open a terminal in Ubuntu, and do ssh host-1, which works as expected. From host-1, I do ssh host-2, which again works fine and connects me to host-2. From host-2 I do, for example, echo "blah", which prints blah to the screen. Problem: If I do exit, the screen is cleared, and I am left with only the following:

Asked by: Guest | Views: 81
Total answers/comments: 0