Page 1 of 2

KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 18:00
by Natig
Hello, how can I remove this from the server?

https://zaka.biz/files/img/server-note.png

-----------------------------------------------------------------------
This server is powered by KeyHelp!

* Control panel access:
https://name.server
https://ip-adress

* CLI utilities:
# keyhelp
# keyhelp-toolbox
-----------------------------------------------------------------------

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 18:08
by Alexander
Hello,

It is not clear, what are you trying to remove. The whole Message of the Day? Only "powered by KeyHelp"? The IPs and hostnames?

Open this file

Code: Select all

/etc/update-motd.d/80-keyhelp
Use the following parameters (at the top of the script) to switch off various parts of the message of the day, simply by setting them to "0" instead of "1".

Code: Select all

show_powered_by_keyhelp=1
show_login_hostname=1
show_login_ipv4=1
show_login_ipv6=1

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 18:30
by Natig
I dropped that too
show_login_hostname=0
show_login_ipv4=0
show_login_ipv6=0

now shows it https://zaka.biz/files/img/server-note-0.png

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:23
by Florian
Error 403!

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:32
by Natig

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:37
by 24unix
You can attach images to this board.

a) No spammy site with ads is needed.
b) If someone reads this thread in a year or so, it is still meaningful.

And, besides, for plain text you can use the code tags: </>

Code: Select all

Linux keyhelp.lab.24unix.net 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64
--------------------------------------------------------------------------------
  This server is powered by KeyHelp!

  * Control panel access:
      https://keyhelp.lab.24unix.net
      https://192.168.99.66
      https://[2a03:7847:2252:180:5054:ff:fe6c:13d1]

  * Login data:
      /root/keyhelp_login_data_2022-07-19_13-10-17

  * CLI utilities:
      # keyhelp
      # keyhelp-toolbox
--------------------------------------------------------------------------------
Last login: Mon Feb 12 12:03:31 2024 from 2a03:7847:2252:180:a00:27ff:fed1:cb53
Florian wrote: Mon 12. Feb 2024, 19:23Error 403!
For me also the first spammy site worked.

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:43
by Natig
now shows it

Code: Select all

--------------------------------------------------------------------------------

  * Login data:
      /root/keyhelp_login_data_*******

  * CLI utilities:
      # keyhelp
      # keyhelp-toolbox
--------------------------------------------------------------------------------


Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:45
by 24unix
That is a good solution :-)

So, are you happy with that, or do you need further adaption?

Alex asked in his first reply what you want to achieve.

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:48
by Natig
I want to delete it all

Code: Select all

-----------------------------------------------------------------

  * Login data:
      /root/keyhelp_login_data_****

  * CLI utilities:
      # keyhelp
      # keyhelp-toolbox
-------------------------------------------------------------------

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:54
by 24unix
Natig wrote: Mon 12. Feb 2024, 19:48 I want to delete it all
You are very sparse with words :-)

So, you want to disable the whole modt?

SSH? For one user?

Code: Select all

touch $HOME/.hushlogin

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 19:56
by Jolinar
Natig wrote: Mon 12. Feb 2024, 19:48 I want to delete it all
Why?

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 20:02
by 24unix
Jolinar wrote: Mon 12. Feb 2024, 19:56
Natig wrote: Mon 12. Feb 2024, 19:48 I want to delete it all
Why?
Why not? :-)

When I'm logged in, I know where I am.
If I need IP:

Code: Select all

ip a
Login data:

Code: Select all

ls -lr
And after a while you know which cli utils are available :-)

So, the motd is nice, but superfluent …

Edit: And If I login as a regular user:

Code: Select all

Linux keyhelp.lab.24unix.net 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64
--------------------------------------------------------------------------------
  This server is powered by KeyHelp!

  * Control panel access:
      https://keyhelp.lab.24unix.net
      https://192.168.99.66
      https://[2a03:7847:2252:180:5054:ff:fe6c:13d1]

  * Login data:
      /root/keyhelp_login_data_2022-07-19_13-10-17

  * CLI utilities:
      # keyhelp
      # keyhelp-toolbox
--------------------------------------------------------------------------------
Last login: Mon Feb 12 20:04:40 2024 from 2a03:7847:2252:180:a00:27ff:fed1:cb53
I have no access to /root<whatsoever>

So the use is quite limited.

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 20:04
by Natig
I don't want to see this every time in ssh

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 20:06
by 24unix
Natig wrote: Mon 12. Feb 2024, 20:04 I don't want to see this every time in ssh
Did the .hushlogin work?

Re: KeyHelp has been updated to version 24.0.

Posted: Mon 12. Feb 2024, 20:11
by Natig
Thank you very much it worked.