LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2005, 11:08 PM   #1
nectron101
Member
 
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Rep: Reputation: 15
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 ?
 
Old 01-29-2005, 11:21 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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.
 
Old 01-30-2005, 09:21 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
/etc/issue

and

/etc/motd both work with no problems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing ssh port dannyk1 Linux - Security 7 06-17-2005 08:05 AM
Changing SSH remote login look untwisted Linux - Software 2 03-14-2004 12:50 PM
ftp login -- ssh no login waffe Linux - General 4 12-27-2003 12:42 AM
Need help changing graphical login to regular login jnezezon Linux - Newbie 2 11-13-2003 09:36 PM
Changing SSH Port taran Linux - Networking 2 08-10-2003 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration