This question already has an answer here:
I am trying to create ssh tunnel over tor on Windows machine using Cygwin. I first start Tor service, tor.exe is running on local port 9151. But how to create the ssh tunnel? If i type
ssh firstname.lastname@example.org -D 9151 it says that the address is already in use and it can not implement local forwarding.
What is the right way to implement ssh tunneling over tor to remote server?