💾 Archived View for freeshell.de › tldr › sshpass.gmi captured on 2023-07-10 at 14:58:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

sshpass

An ssh password provider.
It works by creating a TTY, feeding the password into it, and then redirecting stdin to the ssh session.

More information.

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}"
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY