How can I allow ssh tunneling/forwarding trough a machine without giving access to the intermediate machine ...

Worn-tile Scrabble

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

FPGA - DIY Programming

The difference between dialogue marks

Pokemon Turn Based battle (Python)

Is bread bad for ducks?

Do these rules for Critical Successes and Critical Failures seem Fair?

What did it mean to "align" a radio?

Is there any way to tell whether the shot is going to hit you or not?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Time travel alters history but people keep saying nothing's changed

Geography at the pixel level

How to notate time signature switching consistently every measure

Earliest use of the term "Galois extension"?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

What is the meaning of the verb "bear" in this context?

What is the most effective way of iterating a std::vector and why?

Identify boardgame from Big movie

Who coined the term "madman theory"?

Have you ever entered Singapore using a different passport or name?

How can I autofill dates in Excel excluding Sunday?

What do the Banks children have against barley water?

What is the meaning of Triage in Cybersec world?

If a Druid sees an animal’s corpse, can they wild shape into that animal?



How can I allow ssh tunneling/forwarding trough a machine without giving access to the intermediate machine



The 2019 Stack Overflow Developer Survey Results Are Inssh tunneling only accessHow does ssh port forwarding work exactlySSH keys management systemSelecting Interface for SSH Port ForwardingCreate tunnel from PC1 to PC2 allowing PC2 to then connect back to PC1 via SSH without Port ForwardingReceiving incoming traffic without external IP and port forwardingLinux ssh: allow public-key authentication without giving user read rights to private keyiptables: when to use input or output with LAN connections?ssh gateway which can proxy to upstream servers based on user name?SSH access without opening firewall ports





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Lets say i have a machine with a few virtual machines on them, how would i forward ssh connections to those virtual machines without giving access to the host machine? Is it possible to do so with only a single port exposed to the outside world? This would also apply to a machine, with some other machines behind it.



I would like to do the redirect based on which keys are used, or perhaps based on a flag set in the ssh command on the client.









share







New contributor




smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    Lets say i have a machine with a few virtual machines on them, how would i forward ssh connections to those virtual machines without giving access to the host machine? Is it possible to do so with only a single port exposed to the outside world? This would also apply to a machine, with some other machines behind it.



    I would like to do the redirect based on which keys are used, or perhaps based on a flag set in the ssh command on the client.









    share







    New contributor




    smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Lets say i have a machine with a few virtual machines on them, how would i forward ssh connections to those virtual machines without giving access to the host machine? Is it possible to do so with only a single port exposed to the outside world? This would also apply to a machine, with some other machines behind it.



      I would like to do the redirect based on which keys are used, or perhaps based on a flag set in the ssh command on the client.









      share







      New contributor




      smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Lets say i have a machine with a few virtual machines on them, how would i forward ssh connections to those virtual machines without giving access to the host machine? Is it possible to do so with only a single port exposed to the outside world? This would also apply to a machine, with some other machines behind it.



      I would like to do the redirect based on which keys are used, or perhaps based on a flag set in the ssh command on the client.







      networking ssh ssh-tunnel forwarding





      share







      New contributor




      smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      smurfendrek123smurfendrek123

      1011




      1011




      New contributor




      smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      smurfendrek123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          smurfendrek123 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962541%2fhow-can-i-allow-ssh-tunneling-forwarding-trough-a-machine-without-giving-access%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          smurfendrek123 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          smurfendrek123 is a new contributor. Be nice, and check out our Code of Conduct.













          smurfendrek123 is a new contributor. Be nice, and check out our Code of Conduct.












          smurfendrek123 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962541%2fhow-can-i-allow-ssh-tunneling-forwarding-trough-a-machine-without-giving-access%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...