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.

Symptoms

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.
or
invalid host name

Changes

Customer loaded S10_u10 on the sshd server

Cause

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 hundreds of Community platforms