Remote shutdown using a script

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Funtik
White ninja
White ninja
Posts: 19
Joined: 17 Mar 2019, 12:23
Distribution: Private

Remote shutdown using a script

Post#1 by Funtik » 25 Mar 2019, 04:26

Fanthom, I'm bored with my questions :)
I want to write a script connecting to a Kiosk via ssh with the execution of the command "shutdown -h". But, for some reason, every time the server changes the RSA keys and the client issues a warning. What is the reason for this?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Remote shutdown using a script

Post#2 by fanthom » 25 Mar 2019, 07:03

Nothing in kiosk is persistent including SSH keys.

You should have an option to auto accept new keys in your SSH client.
Please add [Solved] to your thread title if the solution was found.

Chillkroete
White ninja
White ninja
Posts: 12
Joined: 09 Jul 2023, 06:30
Distribution: Porteus Kiosk 5.5

Remote shutdown using a script

Post#3 by Chillkroete » 01 Aug 2023, 20:38

fanthom wrote:
25 Mar 2019, 07:03
You should have an option to auto accept new keys in your SSH client.
Can anybody provide any guidance on how to archive that?

Locked