• [^] # Re: Plus d'infos ?

    Posté par . En réponse au message Tunnel SSH à travers Proxy 8080 avec user pass. Évalué à 1.

    J'ai essayé http://www.taiyo.co.jp/~gotoh/ssh/connect.html,(...) en mode debug, ça me retourne ceci :
    GenTux-Laptop .ssh # connect -d -H :8080 22
    DEBUG: (none)
    DEBUG: relay_method = HTTP (3)
    DEBUG: relay_host=
    DEBUG: relay_port=8080
    DEBUG: relay_user=root
    DEBUG: local_type=stdio
    DEBUG: dest_host=
    DEBUG: dest_port=22
    DEBUG: Program is $Revision: 1.93 $
    DEBUG: resolving host by name: 
    DEBUG: resolved: (X.X.X.X)
    DEBUG: not matched, addr to be SOCKSified: X.X.X.X
    DEBUG: connecting to :8080
    DEBUG: begin_http_relay()
    DEBUG: >>> "CONNECT :22 HTTP/1.0\r\n"
    DEBUG: >>> "\r\n"
    DEBUG: <<< "HTTP/1.0 403 Forbidden\r\n"
    DEBUG: http proxy is not allowed.
    FATAL: failed to begin relaying via HTTP.
    ceci, mais je ne sais pas cmt mettre un user/pass. Je viens d'essayer ceci : http://www.agroman.net/corkscrew/(...) Mais
    ssh -C -o 'ProxyCommand=/usr/local/bin/corkscrew 8080 %h %p /home/thymus/.ssh/myauth' 22
    Proxy could not open connnection to : Forbidden
    ssh_exchange_identification: Connection closed by remote host
    Je ne sais pas si j'utilise bien le dernier. En fait, pt que ce proxy n'utorise pas ce que je vx faire... Merci :)