Password less SVN on Mac OS

It's pain to enter password tens of times when doing "svn up", "svn ci" on your own computer everyday. To make everything simpler:

local > ssh-keygen -t dsa
press enter twice if asking to enter a password phase.
local > ssh {user}@{server}
server > mkdir .ssh    (If there is no .ssh sub directory at your home directory)
server > touch .ssh/authorized_keys2    (If there is no file authorized_keys2 in .ssh directory)
server > chmod go-rw -R .ssh
server > exit
local > ssh {user}@{server} 'cat >> .ssh/authorized_keys2' < .ssh/id_dsa.pub
local > ssh {user}@{server}    (You should be able to login without entering a password)

Posted by Shaokun Mon, 18 Feb 2008 15:39:00 GMT