Sftp routing through proxy server

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

  1. abiisharma

    abiisharma New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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.

    [root@test1 ~]# sftp -o "ProxyCommand /usr/bin/nc -X connect -x 10.105.54.134:8080 %h %p" User@files12.server.net
    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 Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    427
    Trophy Points:
    83

Share This Page