Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)

I was able to login to an Oracle Cloud machine with the public IP using Putty but when connecting using MobaXterm had issues with the graphical output e.g. xclock or the Oracle Installer.

Made some changes to the sshd_config file to allow X11Forwarding for the graphical output and changed PasswordAuthentication to "no".


Using a private authentication key to access the servers so the password should not be needed.

Putty worked as expected but MobaXterm came back with

Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)

Edited the /etc/ssh/sshd_config file and c
hanged PasswordAuthentication and ChallengeResponseAuthentication to yes and restarted the sshd daemon.


#/bin/systemctl restart sshd.service

Connecting now as expected.

Thinking this needs more investigation - strange that Putty and MobaXterm behave differently.

4 comments:

  1. This is because you are not connecting as the opc user. In the example above, if you notice the screenshot, I had accidentally logged in as an ocp user instead.

    1. In Putty, expand Connection then click on Data.

    2. Enter "opc" as the auto-login username.

    ReplyDelete
  2. So nice I am enjoying for that post as for u latest version of this Security tool Available
    mobaxterm crack

    ReplyDelete