com.jcraft.jsch.JSchException: UnknownHostKey: localhost. RSA key fingerprint is bb:cb:63:07:52:24:32:13:d8:b8:ac:07:e3:2e:15:23

MuleSoft JIRA | Alejandro Nosenzo | 3 months ago
  1. 0

    Testing with the MAC SFTP server when you connect using "sftp localhost" the key added to your known_hosts file is using "ecdsa-sha2-nistp256". When I want to connect using Mule SFTP Connection I receive this warning {quote} Root Exception stack trace: com.jcraft.jsch.JSchException: UnknownHostKey: localhost. RSA key fingerprint is bb:cb:63:07:52:24:32:13:d8:b8:ac:07:e3:2e:15:23 at com.jcraft.jsch.Session.checkHost(Session.java:797) {quote} If I add the entry after obtaining the ssh-rsa using the command "ssh-keyscan localhost" it throws: {quote} org.mule.runtime.core.api.MuleRuntimeException: Error during login to alejandro@localhost. 2016-08-31 03:53:24,863 [[fb407c40-6f46-11e6-8f29-acbc32a683df].sftp-flow-create-directory.worker.01] ERROR org.mule.runtime.core.exception.DefaultMessagingExceptionStrategy - ******************************************************************************** Message : org.mule.runtime.core.api.MuleRuntimeException: Error during login to alejandro@localhost Payload : null Payload Type : null Element : org.mule.runtime.module.extension.internal.runtime.DefaultExecutionMediator$OperationRetryCallBack@1f147640 @ app -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.ArrayIndexOutOfBoundsException: 222 at com.jcraft.jsch.Util.fromBase64(Util.java:52) at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:218) at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:54) at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317) at org.mule.extension.ftp.internal.sftp.connection.SftpClient.configureHostChecking(SftpClient.java:187) at org.mule.extension.ftp.internal.sftp.connection.SftpClient.configureSession(SftpClient.java:170) {quote}

    MuleSoft JIRA | 3 months ago | Alejandro Nosenzo
    com.jcraft.jsch.JSchException: UnknownHostKey: localhost. RSA key fingerprint is bb:cb:63:07:52:24:32:13:d8:b8:ac:07:e3:2e:15:23
  2. 0

    FIle transfer through SFTP

    Oracle Community | 6 years ago | 836575
    com.jcraft.jsch.JSchException: UnknownHostKey: myhost.com. RSA key fingerprint is f6:52:ff:e1:72:81:85:59:06:6c:62:65:80:1c:2a:46
  3. 0

    spring cloud config ssh connection failing

    Stack Overflow | 5 months ago | rich green
    com.jcraft.jsch.JSchException: UnknownHostKey: 10.4.31.179. RSA key fingerprint is 9e:6a:f1:59:98:59:e4:f8:ac:39:e7:02:07:d8:4f:58
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse Community Forums: Hudson » GIT - clean checkout fails

    eclipse.org | 4 months ago
    hudson.plugins.git.GitException: Could not clone git@server:test.git
  6. 0

    Eclipse Community Forums: Hudson » GIT - clean checkout fails

    eclipse.org | 7 months ago
    test.git: UnknownHostKey: server. RSA key fingerprint is 62:ad:32:1a:da:52:4c:41:a4:d8:c0:a8:0b:80:c3:d3

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.jcraft.jsch.JSchException

      UnknownHostKey: localhost. RSA key fingerprint is bb:cb:63:07:52:24:32:13:d8:b8:ac:07:e3:2e:15:23

      at com.jcraft.jsch.Session.checkHost()
    2. JSch
      Session.checkHost
      1. com.jcraft.jsch.Session.checkHost(Session.java:797)
      1 frame