On Jul 29, 2011, at 04:08, Himanshu Raina wrote: > Okay what I meant by null keys was password less keys. Apache runs as svn > user and the repository permissions are as follows > > drwxr-xr-x 7 svn apache 4096 Jul 27 12:14 Project/ > > The hooks script also has 755 permission and ownership as mentioned above. > The hook script when run from the svn server works absolutely fine.
As what user? As I've suggested a couple times now, I think the problem is that, when the hook script runs as the svn user, it doesn't have those ssh keys. For example if your svn user's home directory is /home/svn then you will need to have a directory /home/svn/.ssh/ that contains these passwordless keys you mentioned, and they and the directory must of course be readable by the svn user as well.