Hi everybody,
I am intended to controm my Porteus Kiosk operated touchscreen via Home Assistant. Unfortunately there is no Home Assistant integration yet.
Therefore I plan to use SSH in order to perform Reboot, Shutdown, Screen on/off, brightness control, etc.
I activated SSH and with the password I set everything woks fine via putty. Unfortunately Home Assistant does not allow SSH password authentification. Instead I am obliged to use an SSH key and need to place my public key within Porteus Kiosk.
Can anybody let me know if and how this works? Where do I need to place the public Key?
Thanks and kindest regards,
Chillkroete
Access via SSH key
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
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
-
- White ninja
- Posts: 12
- Joined: 09 Jul 2023, 06:30
- Distribution: Porteus Kiosk 5.5
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Access via SSH key
This feature is not supported in the base kiosk system.
I have moved the topic to an appropriate forum category.
I have moved the topic to an appropriate forum category.
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 12
- Joined: 09 Jul 2023, 06:30
- Distribution: Porteus Kiosk 5.5
Access via SSH key
Thanks.
Appreciated, if somebody could help me in how to modify the ISO file in order to establish SSH-connection via SSH-key
Appreciated, if somebody could help me in how to modify the ISO file in order to establish SSH-connection via SSH-key
-
- White ninja
- Posts: 12
- Joined: 09 Jul 2023, 06:30
- Distribution: Porteus Kiosk 5.5
Access via SSH key
Without too much of Linux knowledge, my approach is:
Does this proceeding makes sense?
I am especcially uncertain, if authorized_keys file can be processed by Porteus Kiosk and if the path is correct.
Thanks and kindest regards
- Generate SSH key via Putty and save it in a file file "authorized_keys"
- Create a module named SSHkey.xzm which copies the file "authorized_keys" to "/home/root/.ssh/authorized_keys"
- Include SSHkey.xzm in my ISO file and extract it to my USB stick via Balena Etcher
Does this proceeding makes sense?
I am especcially uncertain, if authorized_keys file can be processed by Porteus Kiosk and if the path is correct.
Thanks and kindest regards
Access via SSH key
3 things would have to be done:
1. set openSSH service for key authentication (/etc/ssh/sshd_config).
2. be able to add a pubkey to the central configuration.
3. the key should then be written to authorized_keys
That would be a good security gain
Would be nice if this could be added to the very well done distro.
1. set openSSH service for key authentication (/etc/ssh/sshd_config).
2. be able to add a pubkey to the central configuration.
3. the key should then be written to authorized_keys
That would be a good security gain
Would be nice if this could be added to the very well done distro.