Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

Sftp routing through proxy server

Discussion in 'Linux Networking' started by abiisharma, Jun 23, 2013.

  1. abiisharma

    abiisharma Guest

    Hello Experts,

    I need an urgent help. I have to make sftp connection to the remote server where I have to put and get files. Using "put" and "get".

    But I am unable to login to sftp site on internet from my local server.



    [[email protected] ~]# sftp -o "ProxyCommand /usr/bin/nc -X connect -x 10.105.54.134:8080 %h %p" [email protected]
    Connecting to files12.server.net...
    nc: Proxy error: "HTTP/1.1 200 Connection established"
    ssh_exchange_identification: Connection closed by remote host
    Couldn't read packet: Connection reset by peer

     
  2. ryanvade

    ryanvade Guest

Share This Page