• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Remove welcome message from SSH

Gualter Fernandes

New Pleskian
Hi,

How can I remove the welcome message from the SSH?

b8144737c1eb491392eef905042009b3.png
 
Make sure that following options in sshd config are commented or disabled:

# grep PrintMotd /etc/ssh/sshd_config
#PrintMotd yes

# grep Banner /etc/ssh/sshd_config
#Banner none

restart sshd service after that.
Also check content of file /etc/motd
 
Hi Gualter Fernandes,

you might like the previous answer/solution, provided by @VNick :
@Dree, check this out:

Code:
[root@server ~] # cat /root/.plesk_banner
# This script is indirectly called by Bash on login shell startup.
# It outputs Plesk shell banner with login instructions.
# If you don't need it, you may comment out the following line.
/usr/lib64/plesk-9.0/ssh-banner || :

So, just comment out the line. Plesk won't restore the banner on updates.
 
None of these answers seem to be correct:

Current Plesk is adding a line to "/root/.bash_profile" which is what includes the /root/.plesk_banner file, so you'll want to delete that include and then delete the .plesk_banner file as well. Disabling the SSH motd wouldn't make any sense (that just hides the problem) and the system /etc/motd file is empty.
 
Back
Top