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 email@example.com
Under shell script you may need to disable host key checking:
# sshpass -p 'p@ssword' ssh -o StrictHostKeyChecking=no firstname.lastname@example.org