sshpass
命令手册An ssh password provider. It works by creating a TTY, feeding the password into it, and then redirecting
stdin
to the ssh session.
stdin
):sshpass -d {{0}} ssh {{user}}@{{hostname}}
sshpass -p {{password}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}}
sshpass -f {{file}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}} "{{command}}"