sshpass
Non-interactive SSH with a password (spraying, legacy algorithms).
Feeds a password to ssh non-interactively, handy to automate access and for spraying scripts. It also lets you slip in options that enable legacy algorithms (KexAlgorithms, HostKeyAlgorithms) when connecting to old SSH servers.
Family Access, shells & transfer
Flags -p ssh -o
Concepts Credential reuse, Password Spraying
Cheatsheet SSH forwarding
Installation
sudo apt install -y sshpassUseful commands
Appears in
Some machines where its use is documented; not an exhaustive list.
- BigPivotingDockerLabs
- PayDayProving Grounds Practice
- SpiderSocietyProving Grounds Practice