Skip to contentSkip to conversation

SSH into GRUB2

DISCUSSION DebBug 3 participants 3 messages Dec 27, 2019 – Dec 28, 2019 1 message not in the archive

lore
Share & tools
lore

DebBug

author
#0 lore raw

Hello grub-devel,

Is there any support for or are there any intentions to support SSHing into GRUB2?

I realize this would require a network stack to be integrated. Is this feasible with reasonable effort? Would it be accepted at all?

The idea behind this is to be able to SSH into GRUB, having remote unlock capability for true Full Disk Encryption where /boot is equally encrypted.

Thanks for your input. Evaluations welcome ;-)

Happy holidays!

Nils

#1 lore raw
Quoted 3 lines · DebBug

Is there any support for or are there any intentions to support SSHing into GRUB2?

I realize this would require a network stack to be integrated. Is this feasible with reasonable effort? Would it be accepted at all?

grub2 already contains a complete and working TCP/IP stack. The only thing which may be missing is a card driver for the environment it is running on.

I once wrote a card driver for the Xen virtual network card and a Telnet implementation, just to educate myself. It is not perfect (nor secure), but it works. So it should not be impossible to implement ssh support.

Signature · 2 lines
Manfred Härtel, DB3HM    mailto:[email protected]
                         http://rz-home.de/mhaertel
#3 lore raw
In reply to a message not in the archive

Hello Manfred,

Thank you for your quick reply.

That's good news.

Any chance you could provide your code for reference?

Happy holidays,

Nils

Quoted 18 lines · Manfred Haertel
Quoted 3 lines · DebBug

Is there any support for or are there any intentions to support SSHing into GRUB2?

I realize this would require a network stack to be integrated. Is this feasible with reasonable effort? Would it be accepted at all?

grub2 already contains a complete and working TCP/IP stack. The only thing which may be missing is a card driver for the environment it is running on.

I once wrote a card driver for the Xen virtual network card and a Telnet implementation, just to educate myself. It is not perfect (nor secure), but it works. So it should not be impossible to implement ssh support.

Signature · 7 lines
Manfred Härtel, DB3HM    mailto:[email protected]
                        http://rz-home.de/mhaertel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel