Moving ssh key permission fix to hooks.