You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI : SSH Login Failed Due To Protocol Mismatch

Applies To:

Oracle Cloud Infrastructure

Oracle Linux - Version 6


Symptoms

User is not able to login using private key with the following scenarios:

  • Connection using “ssh” will fail with:
Protocol major versions differ: 2 vs. 1
  • Using putty, depending on the version it can fail with:
SSH protocol version 2 required by our configuration but remote only provides (old, insecure) SSH-1
  • Or, in case and old putty version is used:
No supported authentication methods available


Cause

The server is configured to use on SSH protocol version 1, and the SSH private key was created for version 2


Solution

SSH protocol 1 is not required, change the configuration to use  the default, protocol version 2.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!