You are not logged in.

#1 2022-11-11 10:42:16

d.ALT
Member
Registered: 2019-05-10
Posts: 328

[INSTALLATION] SSH auto-enabled by default on ArchISO... Why not?

Just wondering why SSH isn't enabled by default when booting the Installation Medium.
Is it because this could lead to some Security concerns? ... Is it somewhat related to root password being empty?

I tried looking for Topics here on the Forum, but i got too many results.

Enlighten me please! smile


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#2 2022-11-11 11:11:50

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,626

Re: [INSTALLATION] SSH auto-enabled by default on ArchISO... Why not?

It is enabled...
https://gitlab.archlinux.org/archlinux/ … rget.wants

However, as you stated it's configured to not use passwordless logins. This can be overcome either by running passwd on the target machine or by passing the relevant cloud-init files to the installer. For more information read...
https://wiki.archlinux.org/title/Instal … ux_via_SSH


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-11-11 11:30:00

d.ALT
Member
Registered: 2019-05-10
Posts: 328

Re: [INSTALLATION] SSH auto-enabled by default on ArchISO... Why not?

Slithery wrote:

by passing the relevant cloud-init files to the installer.

Thank you for pointing it out Slithery! This is cool!

Stupid question now: why bothering with all of the above, instead of simply setting a password for the root user by default? What would be the downside? Are there any bad consequences in doing that?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

Board footer

Powered by FluxBB