KeyHelp has been updated to version 24.0.

General discussions around KeyHelp.
User avatar
Natig
Posts: 11
Joined: Thu 29. Dec 2022, 10:07

KeyHelp has been updated to version 24.0.

Post 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
-----------------------------------------------------------------------
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: KeyHelp has been updated to version 24.0.

Post 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
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Natig
Posts: 11
Joined: Thu 29. Dec 2022, 10:07

Re: KeyHelp has been updated to version 24.0.

Post 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
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: KeyHelp has been updated to version 24.0.

Post by Florian »

Error 403!
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
24unix
Posts: 1646
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: KeyHelp has been updated to version 24.0.

Post 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.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
Natig
Posts: 11
Joined: Thu 29. Dec 2022, 10:07

Re: KeyHelp has been updated to version 24.0.

Post by Natig »

now shows it

Code: Select all

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

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

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

Last edited by Natig on Mon 12. Feb 2024, 19:46, edited 1 time in total.
User avatar
24unix
Posts: 1646
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: KeyHelp has been updated to version 24.0.

Post 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.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
Natig
Posts: 11
Joined: Thu 29. Dec 2022, 10:07

Re: KeyHelp has been updated to version 24.0.

Post by Natig »

I want to delete it all

Code: Select all

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

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

  * CLI utilities:
      # keyhelp
      # keyhelp-toolbox
-------------------------------------------------------------------
User avatar
24unix
Posts: 1646
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: KeyHelp has been updated to version 24.0.

Post 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
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
Jolinar
Community Moderator
Posts: 3612
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: KeyHelp has been updated to version 24.0.

Post by Jolinar »

Natig wrote: Mon 12. Feb 2024, 19:48 I want to delete it all
Why?
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
User avatar
24unix
Posts: 1646
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: KeyHelp has been updated to version 24.0.

Post 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.
Last edited by 24unix on Mon 12. Feb 2024, 20:06, edited 1 time in total.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
Natig
Posts: 11
Joined: Thu 29. Dec 2022, 10:07

Re: KeyHelp has been updated to version 24.0.

Post by Natig »

I don't want to see this every time in ssh
User avatar
24unix
Posts: 1646
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: KeyHelp has been updated to version 24.0.

Post 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?
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
Natig
Posts: 11
Joined: Thu 29. Dec 2022, 10:07

Re: KeyHelp has been updated to version 24.0.

Post by Natig »

Thank you very much it worked.
Post Reply