Difference between revisions of "Sshpass -h"
Jump to navigation
Jump to search
(Created page with "{{lc}} {{sshpass}}") |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <pre> | ||
+ | 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 | ||
+ | </pre> | ||
{{sshpass}} | {{sshpass}} |
Revision as of 15:41, 11 September 2023
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
Advertising: