💾 Archived View for freeshell.de › tldr › sshpass.gmi captured on 2022-06-11 at 23:49:26. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
An ssh password provider.
It works by creating a TTY, feeding the password into it, and then redirecting stdin to the ssh session.
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).