How to set up a socket5 proxy service with ssh?

How to set up a socket5 proxy server by using ssh:


ssh -D 14141 -Cq root@5.63.7.0


# You can use your socket5 proxy in this way: 

#curl -x socks5h://127.0.0.1:14141 google.com