Changing SSH login tag?
Hello!
Does anyone know how I can change the tag that is displayed when someone logs in to my box with ssh ? |
Well, there's at least one thing you can do. You can modify your sshd_config file (probably in /etc, but I make no guarantees). Do a man sshd, scroll to near the bootom, and there is a FILES section that lists where it should be. Inside the sshd_config file, you can specify the "Banner" keyword to display a message to people who connect. Actually, you specify a file that contains the text, not the text itself. This time, man sshd_config ought to help explain things.
There's also a "PrintMotd" option, but that will display /etc/motd only after a successful login. I did not see anything else of interest, but I only scanned of the man page. You'll need to check it out a bit closer if this doesn't do what you need. |
/etc/issue
and /etc/motd both work with no problems. |
All times are GMT -5. The time now is 04:32 PM. |