https://gist.github.com/abakum/5c5861dc3a1bb769560b264d58413b39
Host 12_
User koka
HostName 192.168.0.12
UserKnownHostsFile ~/.ssh/%h
#For Windows instead of
#ProxyCommand connect -S 127.0.0.1:1080 %h %p
#or
#ProxyCommand nc -x 127.0.0.1:1080 %h %p
#use plink:
#reg add "HKCU\SOFTWARE\SimonTatham\PuTTY\Sessions\D1080" /v ProxyHost /d 127.0.0.1 /f
#reg add "HKCU\SOFTWARE\SimonTatham\PuTTY\Sessions\D1080" /v ProxyMethod /d 2 /f /t REG_DWORD
#reg add "HKCU\SOFTWARE\SimonTatham\PuTTY\Sessions\D1080" /v ProxyPort /d 1080 /f /t REG_DWORD
ProxyCommand plink -load D1080 -raw %h -P %p