Repository navigation
v0.1.0 - Initial Release
This marks the first official release of ts-ssh, a command-line SSH client built with Go! 🎉
ts-ssh leverages Tailscale's tsnet library to establish a userspace connection to your Tailscale network. This allows you to SSH into your Tailscale nodes directly from the tool without needing the full Tailscale client daemon running locally.
✨ Features in this Release:
- tsnet Integration: Connects directly to your Tailscale network in userspace.
- Tailscale Authentication: Handles the device authentication flow via a browser link. Authentication state is stored locally (in
~/.config/ts-ssh-clientby default) for subsequent runs. - SSH Authentication: Supports standard methods:
- Public Key Authentication (including passphrase-protected keys via interactive prompt).
- Password Authentication (via interactive prompt).
- Interactive Sessions: Provides a full interactive PTY session, respecting terminal size changes.
- Host Key Verification: Implements secure host key checking using
~/.ssh/known_hosts:- Prompts interactively to add unknown host keys.
- Provides strong warnings and prevents connection on host key mismatches (potential MITM).
- Insecure Mode: Includes an
-insecureflag to bypass host key checks (use with extreme caution!). - Basic Command-Line Interface: Supports standard SSH flags like
-l(user) and-i(identity file).
Assets
Pre-compiled binaries are attached below for common platforms:
ts-ssh-darwin-arm64: For macOS on Apple Silicon (M1, M2, etc.)
To use a binary:
- Download the appropriate file for your system.
- Make it executable (e.g.,
chmod +x ./ts-ssh-darwin-arm64on macOS/Linux). - Run it! (See README for usage examples).
- Note for macOS users: Gatekeeper might block the first run. Right-click the file -> "Open" -> "Open" in the dialog, or use
xattr -d com.apple.quarantine ./<binary_name>.
- Note for macOS users: Gatekeeper might block the first run. Right-click the file -> "Open" -> "Open" in the dialog, or use
Usage
Please see the README.md for detailed installation instructions (including building from source) and usage examples.
Feedback
This is the initial release. Please report any bugs, issues, or feature suggestions by opening an issue in the repository.
Thanks for checking out ts-ssh!