1

I'm finding that upon exit from an ssh session on a CentOS 7 server, it clears the screen each time. I suspect that there's a setting in /etc for the environment that is doing this.

Any ideas of what's triggering this?

ylluminate
  • 1,155
  • 2
  • 17
  • 35

1 Answers1

0

This is most likely the shell on the machine that you are connecting to doing this. For instance, if you are connecting from host1 to host2 via ssh and you try both bash and zsh on host1 but host2 is still using bash in both scenarios then most likely there is a .bash_logout on host2 that contains a clear command in it, remove it and your problem is solved.

ojs
  • 170
  • 1
  • 3
  • 11