| Crates.io | sendback |
| lib.rs | sendback |
| version | 0.1.1 |
| created_at | 2026-01-24 19:42:29.135773+00 |
| updated_at | 2026-01-24 19:52:27.681785+00 |
| description | Send files back through your SSH session via reverse tunnel |
| homepage | https://github.com/yipihey/sendback |
| repository | https://github.com/yipihey/sendback |
| max_upload_size | |
| id | 2067335 |
| size | 216,758 |
Send files back through your SSH session.
# On any server you're SSH'd into:
sendback results.tar.gz
# → File appears in ~/Downloads on your laptop
No scp paths, no NAT issues, no firewall hassles.
On your laptop (macOS/Linux, system-wide):
curl -sSL https://raw.githubusercontent.com/yipihey/sendback/main/scripts/install.sh | bash
This installs to /usr/local/bin/sendback (requires sudo).
On servers (no sudo required):
curl -sSL https://raw.githubusercontent.com/yipihey/sendback/main/scripts/install.sh | bash -s -- --local
This installs to ~/.local/bin/sendback. Make sure ~/.local/bin is in your PATH:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Requires Rust (install with curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh).
cargo install sendback
Where does it install?
~/.cargo/bin/sendback~/.cargo/bin is in your PATH (rustup adds this during installation)To update later:
cargo install sendback --force
git clone https://github.com/yipihey/sendback.git
cd sendback
cargo build --release
# Binary is at ./target/release/sendback
# Copy it wherever you want, or run: cargo install --path .
Build artifacts: The target/ directory contains build files (~500MB).
You can delete it after copying the binary, or add it to .gitignore (already done).
sendback listen # Run in a terminal (keep it open), or:
sendback service install # Auto-start on login (background)
ssh -R 19283:localhost:19283 yourserver
Pro tip: Add an alias to ~/.bashrc or ~/.zshrc:
alias sshr='ssh -R 19283:localhost:19283'
Then just use sshr yourserver.
sendback file.tar.gz # Single file
sendback *.log # Multiple files
sendback check # Verify tunnel works
Files appear in ~/Downloads on your laptop (configurable).
sendback history shows past transferssendback check # Run on server — diagnose tunnel issues
sendback doctor # Run on laptop — health check
Common issues:
sendback listen on your laptop-R 19283:localhost:19283sendback config --show # View current config
sendback config --download-dir ~/Documents
sendback config --compression false
Config file location: ~/.config/sendback/config.toml
LAPTOP SERVER
┌──────────────┐ ┌──────────────┐
│ sendback │ ◄──────────────── │ sendback │
│ (listen) │ SSH reverse │ file.tar.gz │
│ :19283 │ tunnel (-R) │ │
└──────────────┘ └──────────────┘
SSH's -R flag creates a reverse tunnel from server back to laptop.
sendback streams files through this encrypted tunnel.
If installed via cargo:
cargo uninstall sendback
If installed via install script:
rm /usr/local/bin/sendback # system-wide install
# or
rm ~/.local/bin/sendback # local install
Config and data:
rm -rf ~/.config/sendback # config file
rm -rf ~/.local/share/sendback # transfer history
Questions, bugs, or feature requests: sendback@tomabel.org
GitHub: https://github.com/yipihey/sendback
MIT