[LINUX] Prevent mistakes in the login target server by changing the text color of the terminal software

Overview

I think that you may have mistakenly logged in to the server you are logging in to, and you may have done the work in the internal environment.

Therefore

To reduce the probability of that mistake, change the terminal text color as a device. For example, white for an internal environment terminal and green for an external environment! I think that the probability of accidents due to environmental mistakes can be reduced by setting such as.

Setting method (only putty because I use putty ...)

https://www.st.ryukoku.ac.jp/security/ssh/win/custom.html#:~:text=%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%80%81%5B%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6,%E8%89%B2%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%BE%E3%81%99%E3%80%82

Be careful when changing settings

If you set the overall text color to light green, the files with execution permission displayed by the ls command etc. may also be light green by default, so it was difficult to tell at a glance whether or not you have execution permission. Therefore, I recommend a color that is unlikely to be used elsewhere. .. ..

Recommended Posts

Prevent mistakes in the login target server by changing the text color of the terminal software
Get Unix time of the time specified by JST regardless of the time zone of the server in Python
SSH login to the target server from Windows with a click of a shortcut
Search by the value of the instance in the list
[Python] Change the text color and background color of a specific keyword in print output
○○ Solving problems in the Department of Mathematics by optimization
How to plot a lot of legends by changing the color of the graph continuously with matplotlib