Re:Show HN: SSH OS – an SSH-only operating system for the 19...
by naruse on Thursday November 19, 2026 @08:53PM
(#50569178)
I wanted to create a toy OS that I can only use it for logging on SSH, so in the age of AI there is no excuse, I wrote SSH OS. There is no System 6 underneath, Apple's ROM reads the kernel from the disk and then the whole OS loads.
Two issues I found where quite interesting:
1. Crypto on a 8 MHz 68000 processor. Each of the calculations of an SSH login takes around 12-20 secs, so about ~1min in all. And a session then manages about 7kb/s of ChaCha20-Poly1305. The fix was already in the machine by using theBlueScsi. so I added on vendor SCSI command to its firmware so I the SE could hand off the arithmetic and packet encryption and fall back to doing it ifself if the firmware doesnt have that command available.
2. Drawing. Full screen programs that repaint every row for each new line where quite slow since every letter was redrawn. Right now the terminal just keeps a copy of what is on the screen, notices when a repain is a scroll and just move pixels and draws only what differs.
I tested it out on my Mac SE (with the FDHD ROM, 4MB BlueSCSI v2)
Two issues I found where quite interesting:
1. Crypto on a 8 MHz 68000 processor. Each of the calculations of an SSH login takes around 12-20 secs, so about ~1min in all. And a session then manages about 7kb/s of ChaCha20-Poly1305. The fix was already in the machine by using theBlueScsi. so I added on vendor SCSI command to its firmware so I the SE could hand off the arithmetic and packet encryption and fall back to doing it ifself if the firmware doesnt have that command available.
2. Drawing. Full screen programs that repaint every row for each new line where quite slow since every letter was redrawn. Right now the terminal just keeps a copy of what is on the screen, notices when a repain is a scroll and just move pixels and draws only what differs.
I tested it out on my Mac SE (with the FDHD ROM, 4MB BlueSCSI v2)
here's a video of it running it https://youtube.com/shorts/fllByS_XcJg
Limits: One machine model, no colors, US KB only and the random numbers come from input and network timing (which is weaker but it works).
Happy to answer any questions :)