Difference between revisions of "Sshpass"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
[[apt install sshpass]] | [[apt install sshpass]] | ||
+ | |||
+ | [[sshpass -f]] yourpassfile.txt ssh your_remote_server | ||
[[sshpass -p]] YOUR_PASS HOST_TO_CONNECT | [[sshpass -p]] YOUR_PASS HOST_TO_CONNECT | ||
[[plink -pwfile]] | [[plink -pwfile]] |
Revision as of 16:10, 11 September 2023
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
See also
Advertising: