Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-13-2006, 01:01 PM   #1
LQ Newbie
Registered: Sep 2002
Distribution: Fedora core 4
Posts: 17

Rep: Reputation: 0
change bash login message


i got a problem with the ssh login message:

Fatal error: Received unexpected header from the server:
expected "FooProggy 1.11\n" but received 
"Last login: Tue Jun 13 15:39:46 2006
which differs at "L".
There shouldnt be anything upon login. Anyone know how to remove it? Obviously to do with .bash* -files, but to me it looks like stabbing the /etc/ -stuff which i'm not so confident with.

I got Fedore core 4.

Last edited by Imiro; 06-13-2006 at 01:02 PM.
Old 06-13-2006, 01:35 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
I think you generally edit /etc/motd for this. Just make a backup copy of the file in case you screw it up. Then you can always restore the original.
Old 06-14-2006, 08:58 AM   #3
LQ Newbie
Registered: Sep 2002
Distribution: Fedora core 4
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks but /etc/motd is empty :O To rephrase, i would like to remove this first line that says 'last login...':

Last login: Tue Jun 13 18:47:40 2006 from
[root@s988776 ~]#
I actually solved my original problem by other means, but would be nice to know still


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 11 08-26-2018 01:00 PM
How to change the text message on the login page? mrodriguez Linux - Newbie 2 11-25-2004 03:40 AM
bash: message Gettis Linux - Newbie 3 07-06-2004 03:10 PM
Mandrake 9 - change telnet login message vrillusions Linux - Networking 2 02-04-2003 12:34 AM
bash message ctwarchol Linux - General 0 11-15-2001 07:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 PM.

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