• [^] # Re: Port forwarding

    Posté par (site web personnel) . En réponse au message SSH over SSH (ou comment "proxifier" SSH par et pour SSH). Évalué à 1.

    Je suis d'accord quand tu n'as qu'un server distant, mais j'en ai une "trétrachiée", ça reviendrait à ouvrir un nouveau port pour chaque machine distante. Genre :

    ssh -L 2222:serveurDistant1:22 user1@serverRebond
    ssh -L 2223:serveurDistant2:22 user1@serverRebond
    ssh -L 2224:serveurDistant3:22 user1@serverRebond
    ssh -p 2222 user2@localhost
    ssh -p 2223 user3@localhost
    ssh -p 2224 user4@localhost
    

    Cela ne m'arrange pas. Mais merci quand même.