~alpine/users

4 4

sshd in initramfs

SpaghettiNoodles <spagnod@affusio.com>
Details
Message ID
<20230402145245.3dmwxc3tf2nv4ryf@torschlusspanik>
DKIM signature
missing
Download raw message
Hello,

Has anyone been able to get an ssh server running under initramfs? I
have an encrypted system which I would like to be able to unlock
remotely without the need of a KVM.

If this is not possible, are there any other solutions which would allow
me to achieve my desired outcome?

Thanks all,
--
SpaghettiNoodles
Fabio Martins <fosforo@gmail.com>
Details
Message ID
<CAH8ZuZoS2dU7OPVPD5yZOoVZ+1xEsvPNfmih7podQxBYPvi=Lg@mail.gmail.com>
In-Reply-To
<20230402145245.3dmwxc3tf2nv4ryf@torschlusspanik> (view parent)
DKIM signature
missing
Download raw message
iLO or iDRAC interfaces for HP / Dell servers i believe

On Sunday, April 2, 2023, SpaghettiNoodles <spagnod@affusio.com> wrote:

> Hello,
>
> Has anyone been able to get an ssh server running under initramfs? I
> have an encrypted system which I would like to be able to unlock
> remotely without the need of a KVM.
>
> If this is not possible, are there any other solutions which would allow
> me to achieve my desired outcome?
>
> Thanks all,
> --
> SpaghettiNoodles
>


-- 
Atenciosamente,

Fabio Martins

(+5521) 97914-8106 (Signal)
https://www.linkedin.com/in/fabio1337br/
SpaghettiNoodles <spagnod@affusio.com>
Details
Message ID
<2B2C258B-730C-4AE5-AD37-3E89775620EE@affusio.com>
In-Reply-To
<CAH8ZuZoS2dU7OPVPD5yZOoVZ+1xEsvPNfmih7podQxBYPvi=Lg@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Thanks for replying,

Just clarifying that I don't have a KVM. In fact, I'm not even running Alpine on server hardware, rather on consumer hardware hence my pursuit of a simpler method of decryption at distance.

I could eventually resort to a PiKVM, but I'd prefer to keep it simple.

Thanks

On 2 April 2023 21:31:25 BST, Fabio Martins <fosforo@gmail.com> wrote:
>iLO or iDRAC interfaces for HP / Dell servers i believe
>
>On Sunday, April 2, 2023, SpaghettiNoodles <spagnod@affusio.com> wrote:
>
>> Hello,
>>
>> Has anyone been able to get an ssh server running under initramfs? I
>> have an encrypted system which I would like to be able to unlock
>> remotely without the need of a KVM.
>>
>> If this is not possible, are there any other solutions which would allow
>> me to achieve my desired outcome?
>>
>> Thanks all,
>> --
>> SpaghettiNoodles
>>
>
>
>-- 
>Atenciosamente,
>
>Fabio Martins
>
>(+5521) 97914-8106 (Signal)
>https://www.linkedin.com/in/fabio1337br/
Details
Message ID
<843c8e2a-140c-2416-2161-45e3abc3559a@vincentbentley.co.uk>
In-Reply-To
<2B2C258B-730C-4AE5-AD37-3E89775620EE@affusio.com> (view parent)
DKIM signature
missing
Download raw message
I used Mandos years ago before systemd arrived. It worked well but I 
think the current code base is more systemd focused. It is not in the 
Alpine package repo and I have no idea what would need to be done to 
make it work on Alpine but it is worth a look.

https://www.recompile.se/mandos

-Vince-

On 02/04/2023 21:51, SpaghettiNoodles wrote:
> Thanks for replying,
>
> Just clarifying that I don't have a KVM. In fact, I'm not even running 
> Alpine on server hardware, rather on consumer hardware hence my 
> pursuit of a simpler method of decryption at distance.
>
> I could eventually resort to a PiKVM, but I'd prefer to keep it simple.
>
> Thanks
>
>
> On 2 April 2023 21:31:25 BST, Fabio Martins <fosforo@gmail.com> wrote:
>
>     iLO or iDRAC interfaces for HP / Dell servers i believe
>
>     On Sunday, April 2, 2023, SpaghettiNoodles <spagnod@affusio.com>
>     wrote:
>
>         Hello,
>
>         Has anyone been able to get an ssh server running under
>         initramfs? I
>         have an encrypted system which I would like to be able to unlock
>         remotely without the need of a KVM.
>
>         If this is not possible, are there any other solutions which
>         would allow
>         me to achieve my desired outcome?
>
>         Thanks all,
>         --
>         SpaghettiNoodles
>
>
Details
Message ID
<abe83886-3d7e-4036-8f77-3e0e0c87fee0@regrow.earth>
In-Reply-To
<843c8e2a-140c-2416-2161-45e3abc3559a@vincentbentley.co.uk> (view parent)
DKIM signature
missing
Download raw message
A quick search turned up this open merge request: 
https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/86

So there are ways to do it currently (namely by using dracut, which is 
only available in the testing repository), but no simple way to acheive 
it with the existing alpine mkinitfs because this merge request is 
blocked due to lack of a testsuite.

3 Apr 2023 12:17:00 Vincent Bentley <vince@vincentbentley.co.uk>:

> I used Mandos years ago before systemd arrived. It worked well but I 
> think the current code base is more systemd focused. It is not in the 
> Alpine package repo and I have no idea what would need to be done to 
> make it work on Alpine but it is worth a look.
>
> https://www.recompile.se/mandos
>
> -Vince-
>
> On 02/04/2023 21:51, SpaghettiNoodles wrote:
>> Thanks for replying,
>>
>> Just clarifying that I don't have a KVM. In fact, I'm not even running 
>> Alpine on server hardware, rather on consumer hardware hence my 
>> pursuit of a simpler method of decryption at distance.
>>
>> I could eventually resort to a PiKVM, but I'd prefer to keep it 
>> simple.
>>
>> Thanks
>>
>>
>> On 2 April 2023 21:31:25 BST, Fabio Martins <fosforo@gmail.com> wrote:
>>
>>     iLO or iDRAC interfaces for HP / Dell servers i believe
>>
>>     On Sunday, April 2, 2023, SpaghettiNoodles <spagnod@affusio.com>
>>     wrote:
>>
>>         Hello,
>>
>>         Has anyone been able to get an ssh server running under
>>         initramfs? I
>>         have an encrypted system which I would like to be able to 
>> unlock
>>         remotely without the need of a KVM.
>>
>>         If this is not possible, are there any other solutions which
>>         would allow
>>         me to achieve my desired outcome?
>>
>>         Thanks all,
>>         --
>>         SpaghettiNoodles
>>
>>
Reply to thread Export thread (mbox)