Search squid archive

Re: Allow SFTP connection to port 9122

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19.01.23 13:45, Emanuel Gonzalez wrote:
I have created the environment variables necessary to be able to exit through the proxy:

http_proxy=http://myprox.prod:3142

ftp_proxy=http://myproxy.prod:3142

https_proxy=http://myproxy.prod:3142

i try the connection but never happen

sftp -v -oProxyCommand='nc -v -xtheprovider-front.prod:3142 %h %p' -oPort=9122 user@xxxxxxxxxxxxxxx
[...]
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3

I don't see here any attempt to connect destination server not however, NC uses socks proxy by default, you should configure it to use http connect proxy using the -X option.

I would try configuring proxychains or connect-proxy instead of nc.

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fucking windows! Bring Bill Gates! (Southpark the movie)
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux