Difference between revisions of "Sshpass"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* https://sourceforge.net/projects/sshpass/
 
* https://sourceforge.net/projects/sshpass/
 
* <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]]
Line 11: Line 13:
 
   [[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: