Permission denied (public key) during SSH login with opc user in OCI Instance
(Doc ID 2473738.1)
Last updated on JUNE 17, 2024
Applies to:
Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.
Symptoms
User gets a permission denied (public key) / Disconnected message, when logging in with the opc user.
One cannot access the Linux instance with the opc user after modifying the SSH public key inside the instance or file permissions inside /home/opc/.ssh
Changes
Changed the /home/opc/.ssh/authorized_keys file or file permissions inside /home/opc/.ssh or the /home/opc directory.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |