AWS - Disconnected : No supported authentication methods available (server sent :publickey)












0















I am facing the issue in connecting server via putty. The error is showing me is "Server Refused our key: AWS - Disconnected: No supported authentication methods available (server sent:publickey)".



I am logging in with username " ubuntu ".I checked lots of websites but I didn't find any solution. I create a new key-pair file( .pem ) and tried again that's also is not working.
I am using the same key name for the pem file. Then using pem file I am creating a ppk file and then it is not working










share|improve this question























  • Well did you add the key to the server configuration?

    – Seth
    Nov 3 '17 at 12:27











  • Where did you create the new key-pair ? AWS will create a new one for you while spinning a new instance. Download it, convert it to ppk then use it with Putty

    – Algeriassic
    Nov 3 '17 at 14:07











  • @Algeriassic I did that but still, it's giving me error for the key "Server refused our key"

    – Debashish Dwivedi
    Nov 6 '17 at 5:55











  • @Seth where to add in server configuration, I created with the same name as i have used in instance

    – Debashish Dwivedi
    Nov 6 '17 at 5:56











  • It's not the name it's the actual key that is important.

    – Seth
    Nov 6 '17 at 6:28
















0















I am facing the issue in connecting server via putty. The error is showing me is "Server Refused our key: AWS - Disconnected: No supported authentication methods available (server sent:publickey)".



I am logging in with username " ubuntu ".I checked lots of websites but I didn't find any solution. I create a new key-pair file( .pem ) and tried again that's also is not working.
I am using the same key name for the pem file. Then using pem file I am creating a ppk file and then it is not working










share|improve this question























  • Well did you add the key to the server configuration?

    – Seth
    Nov 3 '17 at 12:27











  • Where did you create the new key-pair ? AWS will create a new one for you while spinning a new instance. Download it, convert it to ppk then use it with Putty

    – Algeriassic
    Nov 3 '17 at 14:07











  • @Algeriassic I did that but still, it's giving me error for the key "Server refused our key"

    – Debashish Dwivedi
    Nov 6 '17 at 5:55











  • @Seth where to add in server configuration, I created with the same name as i have used in instance

    – Debashish Dwivedi
    Nov 6 '17 at 5:56











  • It's not the name it's the actual key that is important.

    – Seth
    Nov 6 '17 at 6:28














0












0








0








I am facing the issue in connecting server via putty. The error is showing me is "Server Refused our key: AWS - Disconnected: No supported authentication methods available (server sent:publickey)".



I am logging in with username " ubuntu ".I checked lots of websites but I didn't find any solution. I create a new key-pair file( .pem ) and tried again that's also is not working.
I am using the same key name for the pem file. Then using pem file I am creating a ppk file and then it is not working










share|improve this question














I am facing the issue in connecting server via putty. The error is showing me is "Server Refused our key: AWS - Disconnected: No supported authentication methods available (server sent:publickey)".



I am logging in with username " ubuntu ".I checked lots of websites but I didn't find any solution. I create a new key-pair file( .pem ) and tried again that's also is not working.
I am using the same key name for the pem file. Then using pem file I am creating a ppk file and then it is not working







putty amazon-web-services






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 3 '17 at 9:26









Debashish DwivediDebashish Dwivedi

112




112













  • Well did you add the key to the server configuration?

    – Seth
    Nov 3 '17 at 12:27











  • Where did you create the new key-pair ? AWS will create a new one for you while spinning a new instance. Download it, convert it to ppk then use it with Putty

    – Algeriassic
    Nov 3 '17 at 14:07











  • @Algeriassic I did that but still, it's giving me error for the key "Server refused our key"

    – Debashish Dwivedi
    Nov 6 '17 at 5:55











  • @Seth where to add in server configuration, I created with the same name as i have used in instance

    – Debashish Dwivedi
    Nov 6 '17 at 5:56











  • It's not the name it's the actual key that is important.

    – Seth
    Nov 6 '17 at 6:28



















  • Well did you add the key to the server configuration?

    – Seth
    Nov 3 '17 at 12:27











  • Where did you create the new key-pair ? AWS will create a new one for you while spinning a new instance. Download it, convert it to ppk then use it with Putty

    – Algeriassic
    Nov 3 '17 at 14:07











  • @Algeriassic I did that but still, it's giving me error for the key "Server refused our key"

    – Debashish Dwivedi
    Nov 6 '17 at 5:55











  • @Seth where to add in server configuration, I created with the same name as i have used in instance

    – Debashish Dwivedi
    Nov 6 '17 at 5:56











  • It's not the name it's the actual key that is important.

    – Seth
    Nov 6 '17 at 6:28

















Well did you add the key to the server configuration?

– Seth
Nov 3 '17 at 12:27





Well did you add the key to the server configuration?

– Seth
Nov 3 '17 at 12:27













Where did you create the new key-pair ? AWS will create a new one for you while spinning a new instance. Download it, convert it to ppk then use it with Putty

– Algeriassic
Nov 3 '17 at 14:07





Where did you create the new key-pair ? AWS will create a new one for you while spinning a new instance. Download it, convert it to ppk then use it with Putty

– Algeriassic
Nov 3 '17 at 14:07













@Algeriassic I did that but still, it's giving me error for the key "Server refused our key"

– Debashish Dwivedi
Nov 6 '17 at 5:55





@Algeriassic I did that but still, it's giving me error for the key "Server refused our key"

– Debashish Dwivedi
Nov 6 '17 at 5:55













@Seth where to add in server configuration, I created with the same name as i have used in instance

– Debashish Dwivedi
Nov 6 '17 at 5:56





@Seth where to add in server configuration, I created with the same name as i have used in instance

– Debashish Dwivedi
Nov 6 '17 at 5:56













It's not the name it's the actual key that is important.

– Seth
Nov 6 '17 at 6:28





It's not the name it's the actual key that is important.

– Seth
Nov 6 '17 at 6:28










3 Answers
3






active

oldest

votes


















0














i had the same problem, I decided to look at the public key for the root user, it had the following appearance "rsa-ssh YOUR KEY name of .pem file" in one line, the public key generated by the putty from .pem for the new user looked different: the comments and the key were written in about 6 lines when I edited the putty key as root and copied it in /nome/nevuser/.ssh/authorizade_key it work






share|improve this answer































    0














    http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#replacing-key-pair



    You have an EC2 instance it looks like, follow the instructions above to create a key pair for this instance. A PEM file is a form of password that is shared by only those who have the files configured. You have to create this on the EC2 instance in Amazon, so the EC2 knows that those who connect with this file are authorized, and then download it to your own computer, and convert it to something Putty can use.



    Then, determine what operating system your EC2 instance is using. Depending on what it is, you will use a different user, for example with Ubuntu, the user is ubuntu, or Amazon Linux, the user is ec2.






    share|improve this answer































      0














      AWS – Disconnected : No supported authentication methods available (server sent :publickey)
      x



      1.After uploading *pem file dont click on generate public or private key pair.




      1. Just click on save private key


      3.Just upload this file in auth, this will solve above issue



      Please on this link for further details
      https://computerlogics931.blogspot.com/2018/04/aws-disconnected-no-supported.html






      share|improve this answer
























      • Welcome to Super User! The link you included has no further details- did you mean that was the source of the above instructions?

        – bertieb
        Jun 14 '18 at 16:07











      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      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
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1265099%2faws-disconnected-no-supported-authentication-methods-available-server-sent%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      i had the same problem, I decided to look at the public key for the root user, it had the following appearance "rsa-ssh YOUR KEY name of .pem file" in one line, the public key generated by the putty from .pem for the new user looked different: the comments and the key were written in about 6 lines when I edited the putty key as root and copied it in /nome/nevuser/.ssh/authorizade_key it work






      share|improve this answer




























        0














        i had the same problem, I decided to look at the public key for the root user, it had the following appearance "rsa-ssh YOUR KEY name of .pem file" in one line, the public key generated by the putty from .pem for the new user looked different: the comments and the key were written in about 6 lines when I edited the putty key as root and copied it in /nome/nevuser/.ssh/authorizade_key it work






        share|improve this answer


























          0












          0








          0







          i had the same problem, I decided to look at the public key for the root user, it had the following appearance "rsa-ssh YOUR KEY name of .pem file" in one line, the public key generated by the putty from .pem for the new user looked different: the comments and the key were written in about 6 lines when I edited the putty key as root and copied it in /nome/nevuser/.ssh/authorizade_key it work






          share|improve this answer













          i had the same problem, I decided to look at the public key for the root user, it had the following appearance "rsa-ssh YOUR KEY name of .pem file" in one line, the public key generated by the putty from .pem for the new user looked different: the comments and the key were written in about 6 lines when I edited the putty key as root and copied it in /nome/nevuser/.ssh/authorizade_key it work







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 17 '17 at 18:55









          MarinaMarina

          1




          1

























              0














              http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#replacing-key-pair



              You have an EC2 instance it looks like, follow the instructions above to create a key pair for this instance. A PEM file is a form of password that is shared by only those who have the files configured. You have to create this on the EC2 instance in Amazon, so the EC2 knows that those who connect with this file are authorized, and then download it to your own computer, and convert it to something Putty can use.



              Then, determine what operating system your EC2 instance is using. Depending on what it is, you will use a different user, for example with Ubuntu, the user is ubuntu, or Amazon Linux, the user is ec2.






              share|improve this answer




























                0














                http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#replacing-key-pair



                You have an EC2 instance it looks like, follow the instructions above to create a key pair for this instance. A PEM file is a form of password that is shared by only those who have the files configured. You have to create this on the EC2 instance in Amazon, so the EC2 knows that those who connect with this file are authorized, and then download it to your own computer, and convert it to something Putty can use.



                Then, determine what operating system your EC2 instance is using. Depending on what it is, you will use a different user, for example with Ubuntu, the user is ubuntu, or Amazon Linux, the user is ec2.






                share|improve this answer


























                  0












                  0








                  0







                  http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#replacing-key-pair



                  You have an EC2 instance it looks like, follow the instructions above to create a key pair for this instance. A PEM file is a form of password that is shared by only those who have the files configured. You have to create this on the EC2 instance in Amazon, so the EC2 knows that those who connect with this file are authorized, and then download it to your own computer, and convert it to something Putty can use.



                  Then, determine what operating system your EC2 instance is using. Depending on what it is, you will use a different user, for example with Ubuntu, the user is ubuntu, or Amazon Linux, the user is ec2.






                  share|improve this answer













                  http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#replacing-key-pair



                  You have an EC2 instance it looks like, follow the instructions above to create a key pair for this instance. A PEM file is a form of password that is shared by only those who have the files configured. You have to create this on the EC2 instance in Amazon, so the EC2 knows that those who connect with this file are authorized, and then download it to your own computer, and convert it to something Putty can use.



                  Then, determine what operating system your EC2 instance is using. Depending on what it is, you will use a different user, for example with Ubuntu, the user is ubuntu, or Amazon Linux, the user is ec2.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 17 '17 at 20:46









                  ytpillaiytpillai

                  1657




                  1657























                      0














                      AWS – Disconnected : No supported authentication methods available (server sent :publickey)
                      x



                      1.After uploading *pem file dont click on generate public or private key pair.




                      1. Just click on save private key


                      3.Just upload this file in auth, this will solve above issue



                      Please on this link for further details
                      https://computerlogics931.blogspot.com/2018/04/aws-disconnected-no-supported.html






                      share|improve this answer
























                      • Welcome to Super User! The link you included has no further details- did you mean that was the source of the above instructions?

                        – bertieb
                        Jun 14 '18 at 16:07
















                      0














                      AWS – Disconnected : No supported authentication methods available (server sent :publickey)
                      x



                      1.After uploading *pem file dont click on generate public or private key pair.




                      1. Just click on save private key


                      3.Just upload this file in auth, this will solve above issue



                      Please on this link for further details
                      https://computerlogics931.blogspot.com/2018/04/aws-disconnected-no-supported.html






                      share|improve this answer
























                      • Welcome to Super User! The link you included has no further details- did you mean that was the source of the above instructions?

                        – bertieb
                        Jun 14 '18 at 16:07














                      0












                      0








                      0







                      AWS – Disconnected : No supported authentication methods available (server sent :publickey)
                      x



                      1.After uploading *pem file dont click on generate public or private key pair.




                      1. Just click on save private key


                      3.Just upload this file in auth, this will solve above issue



                      Please on this link for further details
                      https://computerlogics931.blogspot.com/2018/04/aws-disconnected-no-supported.html






                      share|improve this answer













                      AWS – Disconnected : No supported authentication methods available (server sent :publickey)
                      x



                      1.After uploading *pem file dont click on generate public or private key pair.




                      1. Just click on save private key


                      3.Just upload this file in auth, this will solve above issue



                      Please on this link for further details
                      https://computerlogics931.blogspot.com/2018/04/aws-disconnected-no-supported.html







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jun 14 '18 at 15:37









                      Swetharaghu AaricrSwetharaghu Aaricr

                      1




                      1













                      • Welcome to Super User! The link you included has no further details- did you mean that was the source of the above instructions?

                        – bertieb
                        Jun 14 '18 at 16:07



















                      • Welcome to Super User! The link you included has no further details- did you mean that was the source of the above instructions?

                        – bertieb
                        Jun 14 '18 at 16:07

















                      Welcome to Super User! The link you included has no further details- did you mean that was the source of the above instructions?

                      – bertieb
                      Jun 14 '18 at 16:07





                      Welcome to Super User! The link you included has no further details- did you mean that was the source of the above instructions?

                      – bertieb
                      Jun 14 '18 at 16:07


















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • 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%2fsuperuser.com%2fquestions%2f1265099%2faws-disconnected-no-supported-authentication-methods-available-server-sent%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

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                       ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕