Утилита corkscrew

# apt install corkscrew

# cat ~/.ssh/myauth
user1:password1
# cat ~/.ssh/config
host *
    #ProxyCommand corkscrew 172.16.1.13 3128 %h %p
    #ProxyCommand corkscrew 172.16.1.13 3128 %h %p ~/.ssh/myauth
    ProxyCommand corkscrew 127.0.0.1 3128 %h %p ~/.ssh/myauth