server showing ssh activities

Howto turn off my server from displaying my activities when connect with ssh
It is kinda of cool to see it but what if I dont want to show it ?
Thanks
 
What do you mean by 'activities'? Commands you enter at the prompt? and that you see if pressing the UP-ARROW? If so, this is not related to SSH. It's a feature of your shell called HISTORY. Check in the man page of your shell, because it's different for all shells. If not precise enough, google it using 'stop history' + your-shell-name, and it will be on the top search results.

Dominique.
 
What do you mean by 'activities'? Commands you enter at the prompt? and that you see if pressing the UP-ARROW? If so, this is not related to SSH. It's a feature of your shell called HISTORY. Check in the man page of your shell, because it's different for all shells. If not precise enough, google it using 'stop history' + your-shell-name, and it will be on the top search results.

Dominique.
Yes I can see on my server monitor that showing I am logging to the server from SSH. and showing when I am going to reboot and and showing where I am connected from. This is my home server. I just want to know how to disable just in case if I am ever on real environment (production) , server using "sh" shell I believe.

I dont mind .history doing it but I just dont want it showing on my server monitor. It is ok on the background and I can retrieve it when i want it , i just dont want to show it.
 
Sorry, I don't understand your precision. Maybe you can take a screenshot, and highlight what you don't want to see in there.
 
You're going to want to decrease the logging level in /etc/ssh/sshd_config. The sshd_config(5) man page lists the nine possible values for LogLevel. Setting it to QUIET should probably give you the result you're looking for, but I haven't tested this myself.
 
Sorry, I don't understand your precision. Maybe you can take a screenshot, and highlight what you don't want to see in there.
Here is the screen shot at server's monitor.
 

Attachments

  • screen02.jpg
    screen02.jpg
    912.7 KB · Views: 376
Back
Top