Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

How to sftp through proxy server?

SOLVED
Go to solution
tsunix-pdm-1
Advisor

How to sftp through proxy server?

Hello,

 

I want to establish an sftp connection from an HPUX 11.11 system to an ftp server through Socks v4 proxy server but I don't realize how to do it.
As I've read, I tried with old "nc" program, but I got no results. Also, I tried to get "connect" program but I am unable to find it. Does anyone know how to do such connection?

 

Kind Regards,

4 REPLIES
tsunix-pdm-1
Advisor

Re: How to sftp through proxy server?

Hello,

 

Thank you very much for the links. Unfortunately, I cannot find the solution.

 

Kind Regards,

Bill Hassell
Honored Contributor

Re: How to sftp through proxy server?

...cannot find the solution...

 

That really isn't helpful in finding a solution for you. Perhaps if you posted what you tried and the actual error messages..

 

Note that you may be blocked from using the proxy server. Have you asked your network administrator about blocked and allowed users? Perhaps the socks server will not pass ssh/sftp through.  How about checking the socks server's logs -- they can reveal why you are not getting through.



Bill Hassell, sysadmin
tsunix-pdm-1
Advisor
Solution

Re: How to sftp through proxy server?

Hi,

 

At last I've found how to do it by using the "connect" program with "-o ProxyCommand" of ssh/sftp. The netcat program for HP-UX is not useful for this kind of connection.

 

Thank you for your help and time !

 

 

Kind Regards,