Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
OCI: SSH Login Failure with "Permission Denied (Publickey)" Error on Ubuntu Instance
Applies To:
All Users Oracle Cloud Infrastructure - Version N/A and later
Symptoms:
The SSH login to the Ubuntu instance using the ubuntu user is failing with the following error:
$ ssh -i ssh-key-xxxx.key ubuntu@<IP ADDRESS> -vvv
..........
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: .\ssh-key-x-x-x.key RSA SHA256:4F9td9r99HFDeTJXaXk7vf1DKKuBr/Fk3BFImtreJ38 explicit
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
Tagged:
0