Info from https://sanctum.geek.nz/arabesque/ssh-socks-and-curl/
You need a server with ssh configured. Pay attention to /etc/ssh/sshd_config
:
#Port 22
This will be commented by default, so you can't access your ssh server from the outside. Uncomment it.