Difference between revisions of "Sshpass"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* <code>[[sshpass]]</code> (<code>[[brew]] install http://git.io/sshpass.rb</code>) | * <code>[[sshpass]]</code> (<code>[[brew]] install http://git.io/sshpass.rb</code>) | ||
+ | [[sshpass -v]] | ||
+ | |||
+ | [[sshpass -f]] | ||
+ | |||
+ | [[sshpass -f]] yourpassfile.txt ssh your_remote_server | ||
[[yum install]] sshpass | [[yum install]] sshpass | ||
[[apt install sshpass]] | [[apt install sshpass]] | ||
− | + | ||
− | + | [[sshpass -f]] yourpassfile.txt ssh your_remote_server | |
− | + | [[sshpass -p]] YOUR_PASS HOST_TO_CONNECT | |
+ | [[plink -pwfile]] | ||
+ | [[expect]] | ||
+ | [[ignorespace]] | ||
+ | [[passh]] | ||
== See also == | == See also == |
Latest revision as of 11:07, 21 September 2023
sshpass -v
sshpass -f
sshpass -f yourpassfile.txt ssh your_remote_server
yum install sshpass apt install sshpass
sshpass -f yourpassfile.txt ssh your_remote_server sshpass -p YOUR_PASS HOST_TO_CONNECT plink -pwfile expect ignorespace passh
See also[edit]
Advertising: