When making a SOCKS tunnel through the the terminal, sometimes the port might be skipped when you’re in a hurry.
ryan@ryan-laptop:~$ ssh -D ryan@234.241.124.24
Bad dynamic forwarding specification 'ryan@234.241.124.24'
Again, this is probably a silly error. I forgot to specify the port and ssh thought my host connection that server address was the port itself. The fix is easy.
ryan@ryan-laptop:~$ ssh -D 9988 ryan@234.241.124.24
Just add the port and it should work. Missing obvious things is so easy to do when you haven’t had your coffee.