Globally enable ssh-dss on openssh 7.0

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












I know I can add the following entry:



PubkeyAcceptedKeyTypes=+ssh-dss



to ~/.ssh/config as described here
but I need to do so for each entry. I want to enable it globally.
Is it possible ?










share|improve this question

























    up vote
    -1
    down vote

    favorite












    I know I can add the following entry:



    PubkeyAcceptedKeyTypes=+ssh-dss



    to ~/.ssh/config as described here
    but I need to do so for each entry. I want to enable it globally.
    Is it possible ?










    share|improve this question























      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I know I can add the following entry:



      PubkeyAcceptedKeyTypes=+ssh-dss



      to ~/.ssh/config as described here
      but I need to do so for each entry. I want to enable it globally.
      Is it possible ?










      share|improve this question













      I know I can add the following entry:



      PubkeyAcceptedKeyTypes=+ssh-dss



      to ~/.ssh/config as described here
      but I need to do so for each entry. I want to enable it globally.
      Is it possible ?







      ssh openssh






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 7 '16 at 7:22









      Mellowcandle

      10817




      10817




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          To enable it for all connections you personally make (rather than for all users on the system), just put it in your ~/.ssh/config one time:



          Host *
          PubkeyAcceptedKeyTypes=+ssh-dss


          This will apply to all hosts unless overridden with a different PubkeyAcceptedKeyTypes setting in a subsequent specific Host clause. From man ssh_config:




          A single ‘*’ as a pattern can be used to provide global defaults for all hosts.







          share|improve this answer



























            up vote
            3
            down vote













            You can add this line in



            /etc/ssh/ssh_config


            This will make it valid for every user on this server






            share|improve this answer




















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              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',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f308364%2fglobally-enable-ssh-dss-on-openssh-7-0%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              2
              down vote



              accepted










              To enable it for all connections you personally make (rather than for all users on the system), just put it in your ~/.ssh/config one time:



              Host *
              PubkeyAcceptedKeyTypes=+ssh-dss


              This will apply to all hosts unless overridden with a different PubkeyAcceptedKeyTypes setting in a subsequent specific Host clause. From man ssh_config:




              A single ‘*’ as a pattern can be used to provide global defaults for all hosts.







              share|improve this answer
























                up vote
                2
                down vote



                accepted










                To enable it for all connections you personally make (rather than for all users on the system), just put it in your ~/.ssh/config one time:



                Host *
                PubkeyAcceptedKeyTypes=+ssh-dss


                This will apply to all hosts unless overridden with a different PubkeyAcceptedKeyTypes setting in a subsequent specific Host clause. From man ssh_config:




                A single ‘*’ as a pattern can be used to provide global defaults for all hosts.







                share|improve this answer






















                  up vote
                  2
                  down vote



                  accepted







                  up vote
                  2
                  down vote



                  accepted






                  To enable it for all connections you personally make (rather than for all users on the system), just put it in your ~/.ssh/config one time:



                  Host *
                  PubkeyAcceptedKeyTypes=+ssh-dss


                  This will apply to all hosts unless overridden with a different PubkeyAcceptedKeyTypes setting in a subsequent specific Host clause. From man ssh_config:




                  A single ‘*’ as a pattern can be used to provide global defaults for all hosts.







                  share|improve this answer












                  To enable it for all connections you personally make (rather than for all users on the system), just put it in your ~/.ssh/config one time:



                  Host *
                  PubkeyAcceptedKeyTypes=+ssh-dss


                  This will apply to all hosts unless overridden with a different PubkeyAcceptedKeyTypes setting in a subsequent specific Host clause. From man ssh_config:




                  A single ‘*’ as a pattern can be used to provide global defaults for all hosts.








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 7 '16 at 8:27









                  user4556274

                  4,99811123




                  4,99811123






















                      up vote
                      3
                      down vote













                      You can add this line in



                      /etc/ssh/ssh_config


                      This will make it valid for every user on this server






                      share|improve this answer
























                        up vote
                        3
                        down vote













                        You can add this line in



                        /etc/ssh/ssh_config


                        This will make it valid for every user on this server






                        share|improve this answer






















                          up vote
                          3
                          down vote










                          up vote
                          3
                          down vote









                          You can add this line in



                          /etc/ssh/ssh_config


                          This will make it valid for every user on this server






                          share|improve this answer












                          You can add this line in



                          /etc/ssh/ssh_config


                          This will make it valid for every user on this server







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Sep 7 '16 at 7:25









                          Romeo Ninov

                          4,48321625




                          4,48321625



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f308364%2fglobally-enable-ssh-dss-on-openssh-7-0%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              Displaying single band from multi-band raster using QGIS

                              How many registers does an x86_64 CPU actually have?