Community

How to Edit SSH Login Message

Gr
Grandz #1

each time I ssh login to my vps I see message like this:

This server has installed CyberPanel.
Visit https://www.cyberpanel.net
Forum https://forums.cyberpanel.net
Log in https://xx.xx.xx.xx:8090

Current Server time : 2018-12-13 15:57:43.
Current Load average: 0.00, 0.01, 0.05
Current CPU usage : 1.40236%.
Current RAM usage : 247/991MB (24.92%).
Current Disk usage : 3/25GB (14%).
System uptime : 0 days, 0 hours, 30 minutes.

Enjoy your accelerated Internet by CyberPanel.

it might not be an important question but, how can I configure this message?

se
sergioplaza #2

Did you find any solution? I do not want another user with ssh access to have this type of information, regards

J@
John @ S4 #3

You can normally change the SSH login message (on CentOS at least) by uncommmenting Banner in the sshd config file and then specifying a new file for it to display from…

I’d guess it still works with CyberPanel but haven’t tried it.

Edit /etc/ssh/sshd.config

Uncomment the line #Banner none

Change ‘none’ to a file path, e.g. /etc/banner

Create the file /etc/banner and put whatever message you want in it.

Again, I haven’t tried this with CyberPanel running but it works with CentOS normally.

mc
mcbsys #4

It seems there are lots of ways to do startup messages in Linux. In my CyberPanel 2.0.3 running on Ubuntu 20.04 on Azure, the CyberPanel-specific messages seem to come from

/etc/profile.d/cyberpanel.sh

Sign in to reply