Sftp routing through proxy server

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

  1. abiisharma

    abiisharma New Member

    Joined:
    Jun 23, 2013
    Messages:
    1
    Likes Received:
    0
    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

    Joined:
    Aug 4, 2012
    Messages:
    1,854
    Likes Received:
    652

Share This Page