Key mismatch error with sFTP protocol in OSB

Issue –> If you are using sFTP protocol in OSB proxy then you will get these kind of errors.

Error –> 

Error encountered while polling the resource for the service endpoint ProxyService$XXXXXX$Services$XXXXXXXXX:

com.bea.wli.sb.transports.TransportException: Key Mismatch for host XXXXXX.XXXX.XXXXXX,1.11.111.111
com.bea.wli.sb.transports.TransportException: Key Mismatch for host XXXXXXXX.XXXX.XXXXX,1.11.111.111

Cause –> If your target server public key has ssh-rsa and you have used ssh-dss in your known_Hosts file  , you will see this error.

Solution –> For resolving these errors we have to verify the public key which is used in known_hosts file and update it according to the target server’s public key.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s