Compile and Install SSHPASS
1. Download the latest SSHPASS package from
http://sourceforge.net/projects/sshpass
2. Extract the package to a directory.
3. Run the following commands to compile SSHPASS:
# ./configure
# make
# 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 username@server.test.com
Under shell script you may need to disable host key checking:
# sshpass -p 'p@ssword' ssh -o StrictHostKeyChecking=no username@server.test.com
No comments:
Post a Comment
Hi, Leave a comment here and one of the binary piper's will reply soon :)