-1

I have a private key provided to login to the server.

I have convert the private key to the ppk format using puttygen. But, when I tried to login, poup says disconnected: No supported authentication methods available(server sent:public key,gssapi-keyex,gssapi-with-mic) appear. why I cannot proceed the process?

closed as unclear what you're asking by Twisty Impersonator, Pimp Juice IT, Matteo, Overmind, G-Man Aug 30 '17 at 6:20

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    you wrote " poup says disconnected" Do you mean putty says disconnected? – barlop Aug 27 '17 at 20:55
  • Are you sure the public key is loaded and it's the correct one from the keypair that will match? You say you converted the private key so did that conversion mean you also need to do something with the public key and then load that back onto the server you are connecting with the key pair authentication? Check that the keypair for what you are using for the authentication is correct. – Pimp Juice IT Aug 27 '17 at 21:02
  • yes, putty disconnected. i received the private key from admin and using it, so i thought the public key had been inserted by the admin. – jun Aug 27 '17 at 21:21
0

First, you need to load your ppk into pageant (this is your private key). You may have to type your pass phrase to unlock it into pageant.

Second, you need your public key uploaded to the remote server, for the unix account you'll be using. You should ask an admin to do it for you.

Then, you should be able to login through ssh without entering a password for this unix account.

  • i have done the pageant part. but for the public key i had to ask the admin. right now, still cannot access – jun Aug 27 '17 at 21:22
  • To Strangelovian, I think I once saw a case where a server admin sent out a private key , as its public pair was already uploaded. The OP mentioned that he has a private key from the admin so maybe it's a case like that? – barlop Aug 27 '17 at 21:23
  • do i need to alter the key as 1 line? as i search from google, it is the formatting of the private key. if yes, how can i edit it? – jun Aug 28 '17 at 0:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.