• 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 SSH Login Banner

Dree

Basic Pleskian
Does anyone know how to get rid of the annoying SSH login banner Plesk Onyx installs?


Using username "root".
Last login: Wed Nov 23 14:13:26 2016 from xxxxxxx

This server is powered by Plesk. Log in by browsing
https://xxxxxxx:8443/ or https://xxxxxxxxxxx:8443/

You can log in as user 'root' or 'admin'.
To log in as 'admin', use the 'plesk login' command.
Use the 'plesk' command to manage the server. Run 'plesk help' for more info.
 
Hi Dree,

you don't provide enough informations ( i.e: operating system, depending configuration files, ... ), so that I'm only able to give you some hints:

=> /etc/motd
=>
/etc/update-motd.d
=> find / -type f -name "*" -exec grep --color -Hni "This server is powered by Plesk" {} \;
 
Last edited by a moderator:
It's CloudLinux 7, clean Plesk Onyx install and clean CloudLinux install

/etc/motd is empty, I checked all the usual places to edit this banner, but can't find anything.
 
Last edited:
Hi Dree,

the used script is:

=> /usr/lib/plesk-9.0/ssh-banner

... which could be called, when NO "motd" is set ( I assume ). Please wait for a Plesk-Team-Member ( @IgorG for example ) to answer your question correctly, without a personal guess. :D
 
@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.
 
For anyone looking for the origin: This is included by "~/.profile".
Code:
[ ! -s ~/.plesk_banner ] || . ~/.plesk_banner
 
Back
Top