Debian Codegraph @

conf/clush.conf.d/sshpass.conf.example

raw
1 # Example configuration file for ssh password auth support with sshpass.
2 #
3 # Copy as sshpass.conf to enable and edit the paths below as needed.
4 # sshpass needs to be installed on your operating system.
5 #
6 # To activate sshpass mode, use clush -m sshpath ...
7
8 [mode:sshpass]
9 password_prompt: yes
10 ssh_path: /usr/bin/sshpass /usr/bin/ssh
11 scp_path: /usr/bin/sshpass /usr/bin/scp
12 ssh_options: -oBatchMode=no -oStrictHostKeyChecking=no
13
14 # Another mode that reads the password from a local file instead
15 [mode:sshpass-file]
16 password_prompt: no
17 ssh_path: /usr/bin/sshpass -f /root/remotepasswordfile /usr/bin/ssh
18 scp_path: /usr/bin/sshpass -f /root/remotepasswordfile /usr/bin/scp
19 ssh_options: -oBatchMode=no -oStrictHostKeyChecking=no