rofl0r / proxychains-ng

proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the sf.net page is currently not updated, use releases from github release page instead.
http://sourceforge.net/projects/proxychains-ng/files
GNU General Public License v2.0
9.82k stars 1.08k forks source link

Problem with ssh #482

Closed rardcode closed 9 months ago

rardcode commented 2 years ago

Hi! my proxychians version is:

[iznbk01]:~$ pacman -Si proxychains-ng | grep Versione
Versione                  : 4.16-2

ssh version:

[iznbk01]:~$ pacman -Si openssh | grep Versione
Versione                  : 9.0p1-1

Problem:

[iznbk01]:~$ proxychains4 -f .config/izopen/proxychains/1234.conf ssh root@xxxremotehostxx
[proxychains] config file found: .config/izopen/proxychains/1234.conf
[proxychains] preloading /usr/lib/libproxychains4.so
select2: Bad file descriptor
ssh: Could not resolve hostname xxxremotehostxx: Unknown error

If i do:

[iznbk01]:~$ ssh root@xxxremotehostxx
root@xxxremotehostxx's password: 
[root@xxxremotehostxx ~]# 

Successfully connected!

Ai-Himmel commented 2 years ago

see https://github.com/rofl0r/proxychains-ng/issues/439