DNS record for SSH (docker) The Next CEO of Stack OverflowTeamSpeak Redirect via CName &|...

"In the right combination" vs "with the right combination"?

Rotate a column

Several mode to write the symbol of a vector

Why do professional authors make "consistency" mistakes? And how to avoid them?

How to avoid supervisors with prejudiced views?

What is the purpose of the Evocation wizard's Potent Cantrip feature?

Is "for causing autism in X" grammatical?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Inappropriate reference requests from Journal reviewers

What flight has the highest ratio of time difference to flight time?

Grabbing quick drinks

What does "Its cash flow is deeply negative" mean?

What is the result of assigning to std::vector<T>::begin()?

WOW air has ceased operation, can I get my tickets refunded?

Why am I allowed to create multiple unique pointers from a single object?

How does the mv command work with external drives?

Is it possible to search for a directory/file combination?

If the heap is zero-initialized for security, then why is the stack merely uninitialized?

How do I go from 300 unfinished/half written blog posts, to published posts?

How did the Bene Gesserit know how to make a Kwisatz Haderach?

Is it ever safe to open a suspicious html file (e.g. email attachment)?

Can you replace a racial trait cantrip when leveling up?

Won the lottery - how do I keep the money?

Contours of a clandestine nature



DNS record for SSH (docker)



The Next CEO of Stack OverflowTeamSpeak Redirect via CName &| SRV Record?Minecraft DNS SRV record correct setupHow do I write a SRV record for PPTP?Is it possible to have two host identifications for a single domain?SSH tunnel to Docker containerForward ssh connections to docker container by hostnameHow to limit access from host to docker containerconnecting to apache server in docker container (osx and docker-machine) FROM INTERNETDocker does not resolve DNS from BIND serverRedirect SSH connexion to another port in function of (sub)domaine












0















i have a docker container which bind the port 2222:22. It's possible to connect using ssh -T sub.example.com -p 2222.
I'm looking for a way to access ssh the container without specify the port number. I thought this could be done with a DNS record.



I set a DNS record SRV _ssh._tcp.sub 5 10022 sub.example.com to my domain in the admin interface of my provider, this does not work.



Is there a way to do that?









share







New contributor




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

























    0















    i have a docker container which bind the port 2222:22. It's possible to connect using ssh -T sub.example.com -p 2222.
    I'm looking for a way to access ssh the container without specify the port number. I thought this could be done with a DNS record.



    I set a DNS record SRV _ssh._tcp.sub 5 10022 sub.example.com to my domain in the admin interface of my provider, this does not work.



    Is there a way to do that?









    share







    New contributor




    Maximilian Ebel 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








      i have a docker container which bind the port 2222:22. It's possible to connect using ssh -T sub.example.com -p 2222.
      I'm looking for a way to access ssh the container without specify the port number. I thought this could be done with a DNS record.



      I set a DNS record SRV _ssh._tcp.sub 5 10022 sub.example.com to my domain in the admin interface of my provider, this does not work.



      Is there a way to do that?









      share







      New contributor




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












      i have a docker container which bind the port 2222:22. It's possible to connect using ssh -T sub.example.com -p 2222.
      I'm looking for a way to access ssh the container without specify the port number. I thought this could be done with a DNS record.



      I set a DNS record SRV _ssh._tcp.sub 5 10022 sub.example.com to my domain in the admin interface of my provider, this does not work.



      Is there a way to do that?







      domain-name-system ssh docker





      share







      New contributor




      Maximilian Ebel 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




      Maximilian Ebel 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




      Maximilian Ebel 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









      Maximilian EbelMaximilian Ebel

      11




      11




      New contributor




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





      New contributor





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






      Maximilian Ebel 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
          });


          }
          });






          Maximilian Ebel 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%2f960733%2fdns-record-for-ssh-docker%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








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










          draft saved

          draft discarded


















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













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












          Maximilian Ebel 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%2f960733%2fdns-record-for-ssh-docker%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...

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

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