I connect to a remote ssh server by running this command:
ssh -D 12345 firstname.lastname@example.org
This creates a socks proxy that I can use with Firefox to bypass censorship in my country. However, I can't take advantage of it to in the command line.
Let's say my country blocks access to youtube. How can I use the ssh connection to run a command such as:
Without being blocked by the government? How I can set a socks proxy for all terminal commands?