To access restricted university web pages I often run the following command:
ssh -fND port [email protected]
Then I open a firefox profile which I have set to go through port 5555 using a socks proxy. I have been doing this using cygwin ssh for a while and it works fine. Now I'm running it on ubuntu and it works too however it doesn't seem to end when I close the terminal. I currently have no terminals open but I can still browse the web using a socks proxy on port 5555 and access all the restricted pages that I shouldn't be able to. If I change the port number or firefox profile then I can't access those files so the only conclusion I can come to is that the connection is still open which leads to my question: How do I cancel this?