Repository navigation
sshc 0.5.0
New commands
sshc doctorchecks the setup - OpenSSH version, copies of sshc onPATH, the shell hook, the config file, the credential store, ssh-agent - and says how to fix each problem.sshc updateinstalls the latest release after checking its checksum;sshc update --checkonly looks. A copy installed by Scoop, Homebrew or winget is pointed at its package manager instead.sshc use NAMEswitches the active profile for the current terminal;sshc use --save NAMEchanges the default;sshc useshows it.sshc migratemoves every plain-text secret in the config file into the credential store.sshc help COMMANDshows the help ofset,unset,use,runoreach.
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 asoathtoolor a password manager. It is opt-in per host.
Other additions
log = yesin the config file records every prompt sshc answers: when, for what, and where the secret came from. Never the secret.SSHC_NO_PROMPT=1makes sshc fail instead of asking on the terminal, for scripts and scheduled jobs.- On Windows,
sshc installnow adds the shell hook to your PowerShell profile itself when the script execution policy allows profiles to load. .deband.rpmpackages, 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.mddescribes 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.