LazySSH
LazySSH is a modern CLI for managing SSH connections, tunnels, file transfers, and automation from one interactive prompt.
Highlights
- Interactive command mode with tab completion for every workflow
- Persistent SSH control sockets so sessions, tunnels, and transfers stay fast
- Forward, reverse, and dynamic SOCKS tunnels with friendly status tables
- Rich SCP mode with trees, batch downloads, and progress indicators
- Plugin system for local Python/shell automation that reuses open sockets
Install
# Recommended
pipx install lazyssh
# Or use pip
pip install lazyssh
# From source (requires Hatch)
git clone https://github.com/Bochner/lazyssh.git
cd lazyssh
pipx install hatch # or: pip install hatch
hatch build
pip install dist/*.whl
Dependencies: Python 3.11+, OpenSSH client, and optionally the Terminator terminal emulator (LazySSH falls back to the native terminal automatically).
Quick Start
# Launch the interactive shell
lazyssh
# Create a new connection (SSH key and SOCKS proxy optional)
lazyssh> lazyssh -ip 192.168.1.100 -port 22 -user admin -socket myserver -ssh-key ~/.ssh/id_ed25519
# Review active connections and tunnels
lazyssh> list
# Open a terminal session in the current window
lazyssh> open myserver
# Save the connection for next time
lazyssh> save-config myserver
# Show saved configs at startup (explicit path to the default file)
$ lazyssh --config /tmp/lazyssh/connections.conf
# Create a forward tunnel to a remote web service
lazyssh> tunc myserver l 8080 localhost 80
# Enter SCP mode to transfer files
lazyssh> scp myserver
scp myserver:/home/admin> get backup.tar.gz
Need a guided setup? Run lazyssh> wizard lazyssh for a prompt-driven connection workflow.
Development
git clone https://github.com/Bochner/lazyssh.git && cd lazyssh
pipx install hatch # Install build tool (one-time)
make install # Setup environment
make run # Run lazyssh
make check # Lint + type check
make test # Run tests
See CONTRIBUTING.md for details.
Learn More
- Getting Started – first-run walkthroughs and everyday workflows
- Reference – command lists, environment variables, and config file details
- Guides – advanced tunnels, SCP tips, and automation with plugins
- Troubleshooting – quick fixes for connection, terminal, or SCP issues
- Maintainers – development environment, logging, and releasing
Contributing
Contributions are welcome! See CONTRIBUTING.md for setup instructions and coding standards.
License
LazySSH is released under the MIT License.
Metadata
Release files for lazyssh 1.6.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lazyssh-1.6.6.tar.gz | 197.8 kB | Without provenance | Details for lazyssh-1.6.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lazyssh-1.6.6-py3-none-any.whl | Python 3 | none | any | Details for lazyssh-1.6.6-py3-none-any.whl |
Total release size: 303.4 kB
Release files / lazyssh-1.6.6.tar.gz
| Download URL | lazyssh-1.6.6.tar.gz |
|---|---|
| Size | 197.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ba04c9e38d4e35814d80d343eb2a103bc24ccd843a543b05372a2545cc8aa7d
|
|
BLAKE2b-256 checksum How to use checksums |
ba15b60d2c6f3ece2f7738d0e94cb9b5060597abea6c52f53eb4914a0dc9bf1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.3 cpython/3.12.3 HTTPX/0.28.1
|
Release files / lazyssh-1.6.6-py3-none-any.whl
| Download URL | lazyssh-1.6.6-py3-none-any.whl |
|---|---|
| Size | 105.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2610de5955fb2f716c48d0a079c81e4a7229f82b17758fff51ef4fbfdb0cdb3e
|
|
BLAKE2b-256 checksum How to use checksums |
641ebade2e4d376058ae31c4c6de51c71ca5cdff9853f0910f355652fa2d00b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.3 cpython/3.12.3 HTTPX/0.28.1
|
Security for lazyssh 1.6.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.