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
It is kinda of cool to see it but what if I dont want to show it ?
Thanks
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.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.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 theman
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.
You can't really hide from utmp(5). Only malware hides from it.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.
Here is the screen shot at server's monitor.Sorry, I don't understand your precision. Maybe you can take a screenshot, and highlight what you don't want to see in there.
Thank you. It works.Ah! The console messages... Yes, either turn them off, or better yet, redirect them into a file that you can refer to if need be. Check this link:
https://lists.freebsd.org/pipermail/freebsd-questions/2012-May/240928.html