I am trying to create a SOCKs proxy on my local Bitcoin server. It ends up I have no idea what I am doing. I entered the following commands:
sudo ssh -ND 443 <my server's hostname>@<my ip address>
sudo ssh -ND 9999 <my server's hostname>@<my ip address>
I forwarded the ports on my router. In short, it doesn't work. How do I revert these commands?
Run "ps", that should list the processes running. Once you find the pid's of the commands above you can issue a "kill" command for the pid.
You could also use "top" to see a list of the active processes on the system. Once in top if you hit k and then enter the pid it will kill the process.