My Oracle Support Banner

SSH via script results in Invalid Key Error. (Doc ID 1441370.1)

Last updated on AUGUST 17, 2016

Applies to:

Solaris SPARC Operating System - Version 10 10/08 U6 and later
Information in this document applies to any platform.


Customer may see this issue if they use ssh via their scrips  and ssh fails.  However, ssh works fine on the command line.

If the ssh debug output show the following:

Debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY Host key verification failed.
invalid host name


Customer loaded S10_u10 on the sshd server


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

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