This method is for using protocol SVN + SSH to access Subversion.
Install sshpass
-
sudo apt-get install sshpass
Set the temporary environment variable, add following content(replace yourpassword with real password) to ~/.bashrc
-
export SSHPASS=yourpassword
Edit the svn config file, add following line to ~/.subversion/config if ssh line commented.
-
ssh = $SVN_SSH sshpass -e ssh -q -o ControlMaster=no