Skip to content

Commands

Credential and store management

CommandDescription
onessh initInitialize encrypted config
onessh passwdChange master password
onessh add <alias>Add a host
onessh update <alias>Update a host
onessh rm <alias>Remove a host
onessh ls [--tag] [--filter]List hosts
onessh show <alias>Show host details
onessh user (ls, add, update, rm)Manage user profiles
onessh logout [--all]Clear cached master password
onessh logShow recent audit entries (--last, --action, --format); subcommands enable / disable / status
onessh agent (start, stop, status, clear-all)Memory cache agent

SSH operations

CommandDescription
onessh <alias> [-- ssh-args...]Interactive SSH
onessh exec <alias> <cmd> [args...]Non-interactive remote command
onessh exec --tag <tag> <cmd>Batch exec by tag
onessh cp <src>... <dst>Copy via scp (alias:path notation)
onessh cp --tag <tag> files... :/pathBatch upload by tag
onessh test [<alias>]Connectivity check; --all, --tag, --filter
onessh completion (bash, zsh, fish, powershell)Shell completion
onessh versionVersion and build info

Batch selectors

Remote commands support --all, --tag <tag>, and --filter <glob> (Go filepath.Match, full-string match). Combine tag and filter with AND semantics where supported. Use --dry-run to list matched hosts without running the operation.

See the repository README for extended examples.

Released under the Unlicense.