I'm trying to create a socks proxy on my Raspberry Pi. For that I have this command:
ssh -f -N -C -D 0.0.0.0:1080 localhost.
Now I want to run that on startup. And here is the problem. When I put the line into the
/etc/rc.local file, the proxy starts, but I can't connect to it. I guess it isn't working, because I have to enter the user password, when I run the code by myself. I want to login into it with php and without a key. I prefer user + password or just without user.
Is there a simple way to run that line of code on startup with all user rights that it needs?