Difference between revisions of "Sshpass"

From wikieduonline
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 -p]] YOUR_PASS HOST_TO_CONNECT
+
 
  [[plink -pwfile]]
+
[[sshpass -f]] yourpassfile.txt ssh your_remote_server
  [[expect]]
+
[[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

Advertising: