• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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