I have Kubuntu 22.04 and I have some troubles with SSH output in a console. Every SSH command clears console. I even can't check a version of SSH. For instance, this is what I type:
admin@machine:~$ssh -V
And this is a result:
admin@machine:~$
with cleared all previous text. And this is how it behaves for any SSH command (except those which succeed to connect to a remote host).
I searched for similar problems, but I didn'ŧ find anything relevant. I though I have maybe set wrong LogLevel, so I tried to set it to INFO:
ssh -o LogLevel=INFO
but again I got cleared console without any output.
Also verbose options have no impact, I can't debug anything regarding SSH.
But when I connect to a remote host, SSH command works as expected (on the remote host). But as soon as I quit the connection by Ctrl+D, I'm getting cleared console again.
Does anybody know what can be reason of this behavior?