본문으로 건너뛰기
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

Show HN: SSH OS – an SSH-only operating system for the 1987 Macintosh SE

Article URL: https://github.com/naruse/SSH-OS Comments URL: https://news.ycombinator.com/item?id=50569129 Points: 1 # Comments: 1

번역 서비스가 일시 중지되어 원문을 표시합니다.

A single purpose operating system for the Macintosh SE, written from scratch, whose main job is to be an SSH terminal. It starts from a BlueSCSI in a few seconds, joins your WiFi, and logs in to other computers by itself: a real SSH client on an 8 MHz 68000, with nothing in between. There is no Mac OS underneath. Apple's ROM is used for one thing only, reading the kernel off the disk at start-up; after that it is never called again. Status. SSH OS runs on a real Macintosh SE (FDHD ROM, 4 MB) with a BlueSCSI: it starts from the card, joins the WiFi and logs in over SSH. It is developed and tested in the Snow emulator and checked on the real machine. What it does not do yet is in the notes. To try it you need no tools: take the zip from the releases page, copy its three files to an SD card and put the card in the BlueSCSI, as below. Each release on the releases page is one zip, SSH-OS-VERSION.zip, made by make release. In it: Format an SD card as FAT32 or exFAT. Use a card of its own; your Mac OS card stays as it is. Copy the three .hda files to the top of the card, names unchanged. Put the card in the BlueSCSI and switch the SE on. Click the fan at the right of the bar, click your WiFi network and type its password. Click SSH, then New connection, and type user@server. Optional, and worth it: put the firmware from the release on the BlueSCSI, as below. Connecting takes about a minute without it. The release is built from config.release.txt, which holds nothing but "ask the network for an address": no key, no server, no WiFi of anyone's. Nothing in it is Apple's. To build it yourself instead, see Building and testing. Faster SSH: the BlueSCSI firmware SSH's arithmetic is heavy for an 8 MHz 68000: with the BlueSCSI's own firmware the SE does it all itself, and connecting takes about a minute. The release also holds a BlueSCSI firmware with one addition: SSH OS can hand that arithmetic, and the encryption of a session's packets, to the BlueSCSI's much faster processor. Connecting then takes a small part of that time. SSH OS finds out by itself which firmware is there, and says "SSH acceleration on (BlueSCSI)" while it connects. It is for a BlueSCSI v2 with a Pico W (not the Pico 2 W). Everything else in the firmware is as BlueSCSI makes it. Over USB, which works with any firmware that is on there now: Switch the SE off and unplug the BlueSCSI's ribbon cable and power plug (or take the Pico out of its socket). Hold the white BOOTSEL button on the Pico and plug its USB port into a computer. A drive called RPI-RP2 appears. Copy the .uf2 file onto that drive. It disappears by itself when done. Later versions can go on from the card: copy the .bin file to the top of the SD card and switch on; the BlueSCSI takes it in and removes the file. (That is how BlueSCSI's firmware describes it; we have only used USB so far.) To go back, put BlueSCSI's own release on the same way. The firmware is BlueSCSI's, under its licence (GPL 3), with our addition: the source, and what the addition does in firmware/. The SE's own keyboard has no Page Up, Page Down, Home or End, which is why Command with an arrow stands in for them. More in Using it. What it does A look at it Using it: the home screen, SSH and its keys, the terminal, typing accented letters, the settings file. Building and testing: what you need, the build, the emulator, the tests and how they run on GitHub. Notes: how long things take, other machines, what is not done, where things are in the source. MIT, see LICENSE.

자료 출처

원문 읽기 ↗

관련 주제

← 전체 소식 이어 읽기