Skip to content

sshc 0.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 04:53
· 14 commits to main since this release

New commands

  • sshc doctor checks the setup - OpenSSH version, copies of sshc on PATH, the shell hook, the config file, the credential store, ssh-agent - and says how to fix each problem.
  • sshc update installs the latest release after checking its checksum; sshc update --check only looks. A copy installed by Scoop, Homebrew or winget is pointed at its package manager instead.
  • sshc use NAME switches the active profile for the current terminal; sshc use --save NAME changes the default; sshc use shows it.
  • sshc migrate moves every plain-text secret in the config file into the credential store.
  • sshc help COMMAND shows the help of set, unset, use, run or each.

One-time codes

  • sshc set -o -H HOST -c 'COMMAND' supplies the verification code a host asks for after the password, by running a command such as oathtool or a password manager. It is opt-in per host.

Other additions

  • log = yes in the config file records every prompt sshc answers: when, for what, and where the secret came from. Never the secret.
  • SSHC_NO_PROMPT=1 makes sshc fail instead of asking on the terminal, for scripts and scheduled jobs.
  • On Windows, sshc install now adds the shell hook to your PowerShell profile itself when the script execution policy allows profiles to load.
  • .deb and .rpm packages, a man page, and an AUR recipe.

Releases

  • Releases are now built by GitHub Actions from the tagged commit and carry a build provenance attestation: gh attestation verify <file> --repo W-Industries-Luke/sshc.
  • A SECURITY.md describes how to report a vulnerability and what sshc does and does not protect against.
  • The end-to-end tests now also run on Windows and macOS, against an SSH server built into the test.

Fixed

  • Tab completion of user@h... no longer offers sshc's own commands.