./configure echo $? sudo make&&sudo make install echo $?
检查是否安装成功
1 2 3 4 5 6 7 8 9 10 11 12 13
sshpass Usage: sshpass [-f|-d|-p|-e] [-hV] command parameters -f filename Take password to use from file -d number Use number as file descriptor for getting password -p password Provide password as argument (security unwise) -e Password is passed as env-var "SSHPASS" With no parameters - password will be taken from stdin
-P prompt Which string should sshpass search for to detect a password prompt -v Be verbose about what you're doing -h Show help (this screen) -V Print version information At most one of -f, -d, -p or -e should be used
▶ brew install sshpass ==> Searching for similarly named formulae... Error: No similarly named formulae found. Error: No available formula or cask with the name "sshpass". We won't add sshpass because it makes it too easy for novice SSH users to ruin SSH's security.
1 2 3 4
▶ brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb Traceback (most recent call last): `brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of sshpass formula file from an arbitrary URL is unsupported! (UsageError) `brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of sshpass formula file from an arbitrary URL is unsupported! (UsageError)