2015年12月4日 星期五

Install sshpass on babun

At first, download latest sshpass from sourceforge.
Next, launch babun shell and enter following commands to install it.

# tar zxfv sshpass-1.05.tar.gz
# cd sshpass-1.05
# ./configure
# make
# make install

Then, sshpass.exe will be installed in /usr/local/bin .
Now I can use sshpass+ssh to login my server from my babun shell.

sshpass -p ssh user@ip

Last updated on Dec 4th, 2015 by Sam Lin