AirDrop-like SSH key pairing for your terminal.
Connecto eliminates the hassle of manual SSH key setup. Instead of copying IP addresses and managing keys by hand, simply run connecto listen on one machine and connecto pair on another.
On the target machine (where you want to SSH into):
connecto listen # add --verify to approve each pairing with a codeOn the client machine (where you want to SSH from):
connecto scan
connecto pair 0
ssh mydesktop # It just works!Starting the listener over SSH? Use --detach:
connecto listen --detach # returns immediately, prints the pidWindows terminates a session's processes when the SSH connection closes, so an
attached listener dies the moment you disconnect — pairing then fails with
"connection refused" even though the listener reported that it had started.
--detach starts it outside the session so it survives.
# macOS
brew install andreisuslov/connecto/connecto
# Windows (PowerShell as Admin)
irm https://raw.githubusercontent.com/andreisuslov/connecto/main/install.ps1 | iex
# From source
cargo install --path connecto_cliWindows SSL/TLS Error? (click to expand)
If you see "could not create SSL/TLS secure channel", run these two commands separately:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12irm https://raw.githubusercontent.com/andreisuslov/connecto/main/install.ps1 | iexThis is needed on older Windows systems (Server 2012, older PowerShell) that don't enable TLS 1.2 by default.
Full documentation is available at andreisuslov.github.io/connecto
Before other machines can SSH into your device, the SSH server must be enabled:
connecto ssh on # Enable SSH server
connecto ssh status # Check SSH server status
connecto ssh off # Disable SSH serverPlatform-specific notes:
- Windows: Run PowerShell as Administrator
- macOS/Linux: Run with
sudo
- mDNS Discovery - Auto-discover devices on your network
- VPN Support - Cross-subnet scanning
- Zero-config Pairing - One command key exchange
- Verified Pairing -
--verifygates key installation behind a verification code - Auto SSH Config -
ssh hostnamejust works - Cross-platform - macOS, Linux, Windows
- SSH Server Management - Enable/disable SSH server with one command on all platforms
MIT