Mirror of cy384/ssheven@github.com - Mac OS 7-9 SSH client
Go to file
cy384 c68d921d6a add cursor hiding libvterm hook 2020-09-14 19:54:31 -04:00
CMakeLists.txt code cleanup and minor bug fixes 2020-09-12 20:16:51 -04:00
LICENSE init 2020-06-08 12:53:38 -04:00
README.md bump version to 0.5.0 2020-09-06 16:06:00 -04:00
ssheven-console.c add cursor hiding libvterm hook 2020-09-14 19:54:31 -04:00
ssheven-console.h add blinking cursor 2020-08-21 21:29:34 -04:00
ssheven-constants.r password login robustness/friendliness improvements 2020-09-13 12:21:17 -04:00
ssheven-debug.c fix typo in error message 2020-09-13 12:20:13 -04:00
ssheven.c add cursor hiding libvterm hook 2020-09-14 19:54:31 -04:00
ssheven.h add cursor hiding libvterm hook 2020-09-14 19:54:31 -04:00
ssheven.r add password/key radio buttons to connect dialog 2020-09-14 18:51:29 -04:00

README.md

ssheven box

ssheven

A modern SSH client for Mac OS 7/8/9.

Project status: as of 0.5.0 (see github releases), a functional SSH client with decent terminal emulation, able to run programs like htop and nano. See "to do" section below for upcoming work.

ssheven screenshot

system requirements

  • CPU: Any PPC processor, or a 33 MHz 68040 (maybe a 68LC040, maybe 25 MHz).
  • RAM: 2MB
  • Disk space: 1MB for the fat binary
  • System 7.5 recommended, earlier System 7 versions possible with the Thread Manager extension installed
  • Open Transport networking required, version 1.1.1 or later recommended

to do

  • refactor libssh2 usage to handle errors and centralize network ops
  • key authentication, and radio buttons on connection dialog for password vs key
  • preferences
  • saving/loading connection settings
  • check server keys/known hosts/keys
  • nicer error presentation for issues like wrong password or bad connection (not connected to network, no dns, etc.)
  • read Apple HIG and obsessively optimize placement of all GUI elements
  • improve draw speed (big refactor, need to use an "offscreen graphics world" framebuffer, also hook scrolling into vterm)
  • figure out retro68 mcpu issue, improve 68k connection performance (rewrite mbedtls_mpi_exp_mod in assembly)
  • font size options
  • hook in more libvterm callbacks
  • text selection + copy
  • color

build

Uses Retro68 and cmake.

Requires mbedtls, libssh2, and libvterm, see my (cy384's) ports of those libraries for details. Note that you need to build/install each for both platforms (m68k and PPC).

  • mkdir build && cd build
  • cmake .. -DCMAKE_TOOLCHAIN_FILE=/your/path/to/Retro68-build/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake or cmake .. -DCMAKE_TOOLCHAIN_FILE=/your/path/to/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake
  • make

Use Rez to build the fat binary: join the data fork from the PPC version and the resource fork from the m68k version.

I have some build scripts that I'll clean up and publish with the 1.0.0 release.

note to self: binary resources can be extracted in MPW via: DeRez "Macintosh HD:whatever" -skip "'CODE'" -skip "'DATA'" -skip "'RELA'" -skip "'SIZE'" etc., this is especially useful for icons

license

Licensed under the BSD 2 clause license, see LICENSE file.