• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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