ez-scp is a lightweight, interactive terminal-based SCP (Secure Copy) client built with Go and Bubble Tea. It supports file and folder upload/download over SSH using an intuitive TUI and offers smart autocomplete using persistent history.
- 🔐 SCP over SSH using username/password
- 📁 Upload or download files and zipped folders
- 💾 Persistent input history (auto-suggestions)
- 🧠 Smart autocomplete with
TaborRight Arrow - 🖥️ Minimal terminal UI using Bubble Tea
- ⛓️ No external dependencies needed at runtime
You need Go 1.20+ installed.
git clone https://github.com/yourname/ez-scp.git
cd ez-scp
go build -o ez-scp main.go🔒 The resulting
ez-scpbinary can be distributed and used on other machines without requiring Go.
./ez-scpYou’ll see 7 input fields:
- FilePath – Path to the local file/folder
- TargetPath – Remote path (target on server)
- FileMode –
0for file,1for folder - Mode –
0for upload,1for download - Username – SSH username
- Address – SSH IP/domain (without port)
- Password – SSH password (hidden)
Navigate with:
Tab/Right Arrowfor autocompleteUp/Downarrows to move between fieldsEnterto submit
- FilePath:
./myfile.txt - TargetPath:
/home/user - FileMode:
0 - Mode:
0 - Username:
root - Address:
192.168.1.1 - Password:
yourpassword
➡️ Uploads myfile.txt to /home/user on the server.
- FilePath:
./project - TargetPath:
/home/user - FileMode:
1 - Mode:
0 - Username:
admin - Address:
example.com - Password:
admin123
➡️ Compresses project/ into project.zip and uploads it.
- FilePath:
./output.txt - TargetPath:
/var/data - FileMode:
0 - Mode:
1 - Username:
user - Address:
10.0.0.5 - Password:
pass123
➡️ Downloads /var/data/output.txt from server to current folder.
Your input history is saved in history.json. This includes:
- Paths
- Target folders
- SSH usernames
- Addresses
Use Tab or → to quickly fill matching values.
When FileMode is set to 1, the folder is automatically zipped before transfer.
- Only password-based auth (no key auth)
- Download only works for single files (not folders)
- No resume on interruption
- No folder downloading. will do it later
MIT © Muzzii255
PRs are welcome! Feel free to fork and improve the tool.