EM13c, EM12c: SSH Key Credential Test Fails: Failed to launch process: java.net.ConnectException: Connection refused
(Doc ID 2300398.1)
Last updated on DECEMBER 20, 2022
Applies to:Enterprise Manager Base Platform - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Enterprise Manager Cloud Control 12c or 13c:
Testing or using an SSH Key credential fails with the error message: Failed to launch process: java.net.ConnectException: Connection refused
The issue may be constant or intermittent - the credential may work sometimes.
The SSH Key credential works on the command line.
The following entry appears in <agent_inst>/sysman/log/gcagent.log:
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
|Solution A: Allow sshd to listen on IPv4 and IPv6 addresses|
|Solution B: Force agent to prefer IPv4 addresses (this requires an agent restart)|
|Solution C: Force agent to use a different hostname (and/or port) for ssh key credentials (does not require an agent restart)|