LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Changing SSH login tag? (https://www.linuxquestions.org/questions/linux-general-1/changing-ssh-login-tag-283928/)

nectron101 01-29-2005 11:08 PM

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 ?

Dark_Helmet 01-29-2005 11:21 PM

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.

trickykid 01-30-2005 09:21 AM

/etc/issue

and

/etc/motd both work with no problems.


All times are GMT -5. The time now is 04:32 PM.