Compile and Install SSHPASS
1. Download the latest SSHPASS package from
2. Extract the package to a directory.
3. Run the following commands to compile SSHPASS:
# make install
# make clean
4. Installation is complete.
Login to ssh server called server.example.com with password called t@uyM59bQ:
# sshpass -p 'p@ssword' ssh firstname.lastname@example.org
Under shell script you may need to disable host key checking:
# sshpass -p 'p@ssword' ssh -o StrictHostKeyChecking=no email@example.com