Skip to content

one more robust version of sshpass, but not only because of rust

License

Notifications You must be signed in to change notification settings

ling-zhou/rust-sshpass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-version sshpass

sshpass offers you the ability to automatically offer a password via SSH when you are prompted for it.

Install

compile from source

git clone https://github.com/ling-zhou/rust-sshpass
cd rust-sshpass
make
~/.cargo/bin/sshpass -h

download prebuilt binaries

https://github.com/ling-zhou/rust-sshpass/releases/

Notes

This repository is fully compatible with https://github.com/kevinburke/sshpass

Comparison with https://github.com/kevinburke/sshpass:

❗ 1. the original password from '-p' can not be hidden because of the limit of rust

✅ 2. the main options parsing is not affected by the subcommand options

✅ 3. feature: the password env-var name can be customized

✅ 4. signals can be handled correctly

✅ 5. statically linked, no dependencies

About

one more robust version of sshpass, but not only because of rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published