Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sshpass
03-08-2017, 12:54 PM
Post: #1
sshpass
sshpass allows users to use interactive pass non interactively:

"ssh uses direct TTY access to make sure that the password is indeed issued by an interactive keyboard user. Sshpass runs ssh in a dedicated tty, fooling it into thinking it is getting the password from an interactive user.

The command to run is specified after sshpass' own options. Typically it will be "ssh" with arguments, but it can just as well be any other command. The password prompt used by ssh is, however, currently hardcoded into sshpass."

Usage example:

SSHPASS="your password" -e ssh user@host

Check `man sshpass` or online docs (one is here) for more details of usage.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: