RE: login welcome message






-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Jeff Pang
Sent: Thursday, August 30, 2007 12:37 AM
To: redhat-list@xxxxxxxxxx
Subject: login welcome message

Hello,

How to set the welcome message when a user login into redhat
linux system by ssh?
Thanks!

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


Add this line to your sshd_config

Banner /etc/ssh/motd

Then add a message in /etc/ssh/motd

Restart ssh.

Michael

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Solaris 10 (01/06) SSH login warning banner page setup - Beginner Question
    ... for SSH user login. ... Look at "man sshd_config" for 'Banner' and note its use. ... then a COMMAND can be inserted into each user's authorized ...
    (comp.unix.solaris)
  • Re: setuid login scripts as a shell
    ... >Have a user login via ssh to the system and when properly authenticated run the ... You could exec the setuid program in the .bash_profile. ... Or go in with SSH as the desired user, having set up the authorized_keys so the original user would not need to know the password. ...
    (RedHat)
  • Re: Restarting init without rebooting
    ... The default in the new installs is not to run inetd on startup. ... A word of advice that I found on a Linux system that uses ... did NOT run it from xinetd. ... I was able to ssh into the system and found xinetd wasn't running. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: ssh/scp
    ... > I need to copy a bunch of files from a linux system to another linux system ... Afterwards I need to start a script on the destination system ... How about mounting the volume over nfs and just executing the script over ssh? ...
    (alt.linux)
  • Re: Killing idle SSH sessions?
    ... > kind of remote login via SSH, be it from a Windows or Linux system. ... > inactivity to make sure someone doesn't leave an open session up on ...
    (Fedora)