I am having trouble with configuring parallel kernels. What I want to do is the following: run remote kernels on my home server to which I would like to connect from work using my laptop. Both machines are running Linux and Mathematica 10. I have a VPN set up and working so my laptop and home server can connect to each other without problems. I am following this guide under the section "Remote Kernels". I have enabled remote kernels in parallel kernel configuration (on laptop). When I try to launch the remote kernels, I get the error message
In:= LaunchKernels[RemoteMachine["10.8.0.1"], "ssh -x -f 10.8.0.1 math -mathlink -linkmode Connect `4` -linkname `2` -subkernel -noinit"]] LaunchRemote::rsh: Command ssh -x -f 10.8.0.1 math -mathlink -linkmode Connect -linkprotocol TCPIP -linkname email@example.com,firstname.lastname@example.org -subkernel -noinit may have failed (exit code 32512).
where 10.8.0.1 is the IP address of the server. I have ssh keys set up so that I can log in to the server simply by "ssh 10.8.0.1". If I issue the (failing) ssh command in the terminal, I don't get any error messages.
Any ideas about what I am doing wrong?