Hi there,
as I unfortunately did not receive any feedback to my request in Porteus Kiosk subforum (Access via SSH key), I am looking for help here, as I assume this quite basic function should be available for any distro.
I would like to connect to my Porteus Kiosk via an SSH Key instead of a password (latter case already works perfectly fine).
My approach is a module, which copies a file "authorized_keys" to "/home/root/.ssh/authorized_keys".
Any feedback, if this would be possible?
Potentially this function does already exist, but as the forum search requires at least 4 letters I cannot search for either "SSH" nor "Key". But googleing did not bring any answer unfortunately.
Any help here is appreciated. Thanks a lot!
Access via SSH Key
-
- 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
Kiosk users can post only in the kiosk subforum.
This thread will be deleted after 2 days.
Thanks
This thread will be deleted after 2 days.
Thanks
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
Is there a difference between the SSH key functionality between Porteus and Porteus Kiosk?
What if I was looking for a solution for Porteus?
Thanks
What if I was looking for a solution for Porteus?
Thanks
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Access via SSH Key
Module requests section is for applications.
If you want an application then you post module request for it.
Your query is about 'how SSH works' so it does not fit here.
I'm moving it to 'Newbie questions' section.
If you want an application then you post module request for it.
Your query is about 'how SSH works' so it does not fit here.
I'm moving it to 'Newbie questions' section.
Please add [Solved] to your thread title if the solution was found.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Access via SSH Key
-
- White ninja
- Posts: 12
- Joined: 09 Jul 2023, 06:30
- Distribution: Porteus Kiosk 5.5
Access via SSH Key
Thanks! Eventhough this Google querry is a quite smart approch to search in the forum, I unfortunately did not found a solution here.
Where do I stuck?
In etc/ssh there are 3 different types of public as well as private keys (RSA, ED25519, ECDSA). As far as I understand none of them is initially activated, so I need to uncomment the corresponding line in the "sshd_config" file.
I do not exactly understand what is meant by
Further I cannot finde ".ssh/authorized_keys" which is specified later:
Current approach
After uncommenting the corresponding line for key file specification in "sshd_config", I copy the private key into a txt file, convert it into a ppk (by puttygen) and try to use this key for authentification. Unfortunately key authentification fails. Root password authentification runs like a charm.
Do I need to bring the uncommenting of the corresponding line in "sshd_config" into action somehow?
Thanks for your assistance!
Where do I stuck?
In etc/ssh there are 3 different types of public as well as private keys (RSA, ED25519, ECDSA). As far as I understand none of them is initially activated, so I need to uncomment the corresponding line in the "sshd_config" file.
I do not exactly understand what is meant by
Code: Select all
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
# default value.
Code: Select all
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
# but this is overridden so installations will only check .ssh/authorized_keys
#AuthorizedKeysFile<--->.ssh/authorized_keys
After uncommenting the corresponding line for key file specification in "sshd_config", I copy the private key into a txt file, convert it into a ppk (by puttygen) and try to use this key for authentification. Unfortunately key authentification fails. Root password authentification runs like a charm.
Do I need to bring the uncommenting of the corresponding line in "sshd_config" into action somehow?
Thanks for your assistance!