FG

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

Fresh3 days ago
Mar 15, 20267327 views
Confidence Score0%
0%

Problem

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

Error Output

ssh host-1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

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

Low Risk

Check It probably contains a command. Comment that out. Also, in a lot of terminals, (e.g. ) you can just scroll back up and see what was "cleared".

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment