Skip to content

rusty-conduit-ssh v2.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 23:06
· 1 commit to main since this release

Changed

  • Startup checks local problems before it launches ssh. A missing or unreadable -i key, an unreadable or broken SSH config (checked with ssh -G), a missing ssh program, or a bad MITM CA now stops the proxy at once with one FATAL line, instead of turning into failed logins and reconnects against the SSH server.
  • validate now runs the same checks and also checks that each log file can be opened (without creating it) and prints the open-file NOTICE startup would log. It still never connects to the SSH server: ssh -G only evaluates the SSH config. config OK now means the configuration will not stop the proxy at startup.

New

  • validate --settings-only keeps the previous behaviour and checks only the settings. Use it where the files exist only on the server, for example in CI.

Docs

  • The Docker guide's validate examples mount the SSH files, since validate now reads them, and the guide suggests --restart on-failure:5 while you set things up, so a broken configuration stops after five failed starts instead of restarting forever.

If you run validate somewhere the SSH files, CA, or log directory do not exist, add --settings-only.