The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to set up SSH message?

Discussion in 'General Discussion' started by thewebhosting, May 16, 2009.

  1. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    I want to set up SSH welcome message that user can see when they login to server via SSH. Not sure from where I can set this. Can anybody tell me the steps from where can I set this up?
     
  2. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    Do you want a custom one for each account, or just one for all? If the latter, you just need to edit /etc/motd and add your message, and edit your sshd_config file and change the "PrintMotd" to yes.
     
    #2 ChrisRHS, May 16, 2009
    Last edited: May 17, 2009
  3. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    /etc/motd works for me :)
     
  4. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
  5. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Thanks..I want it for all the SSH users. I have followed the steps and it works for me.
     
Loading...

Share This Page