My Oracle Support Banner

EM13c, EM12c: SSH Key Credential Test Fails: Failed to launch process: Connection refused (Doc ID 2300398.1)

Last updated on JANUARY 25, 2024

Applies to:

Enterprise Manager Base Platform - Version 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: 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)

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.