• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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