Repository navigation
v0.2.0 - SSH Client with Escape Sequences and SCP
v0.2.0 - SSH Client with Escape Sequences and SCP
🎯 New Features
🔄 Interactive Escape Sequence (~.)
At any point in an interactive session, type ~. at the start of a new line to immediately terminate the SSH connection and restore your terminal.
⚡ Non-Interactive Command Execution
Pass a remote command directly on the command line (e.g. ts-ssh host uname -a). The client runs the command, streams its output, and returns its exit code.
🔀 ProxyCommand-Style TCP Forwarding (-W)
Implements ssh -W host:port behavior over Tailscale. Use ts-ssh -W target:22 as a ProxyCommand in ssh or scp configurations:
scp -o ProxyCommand="ts-ssh -W %h:%p user@gateway" localfile remote:/path🏷️ Version Flag (-version)
Print the client version and exit:
go build -ldflags "-X main.version=v0.2.0" -o ts-ssh .📚 Enhanced Documentation
- Comprehensive usage examples in built-in help
- Security notes about host-key verification
- ProxyCommand integration examples
🔒 Security & Stability
- Secure host-key verification against
~/.ssh/known_hostsby default - Interactive prompts for unknown hosts with MITM protection
- Graceful shutdown on
SIGINT/SIGTERMwith terminal restoration - Insecure mode (
-insecure) available for testing (discouraged)
🐛 Bug Fixes & Polish
- Fixed quoting in ProxyCommand examples
- Synchronized Tailscale auth-flow and client logs
- Improved exit-status propagation for commands
- Better error handling and user experience
🚀 Installation
Build from Source
git clone https://github.com/derekg/ts-ssh.git
cd ts-ssh
git checkout v0.2.0
go build -ldflags "-X main.version=v0.2.0" .Note: This project now follows Semantic Versioning. This release adds significant new features while maintaining backward compatibility.
Full Changelog: v0.1.0...v0.2.0