MFT- Inbound SFTP With SSH Key Not Working And Fails With Error "oracle.igf.ids.AuthenticationException: Null password" (Doc ID 2282910.1)

Last updated on AUGUST 16, 2017

Applies to:

Oracle Managed File Transfer Cloud Service - Version 16.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.2.0 version, MFT Runtime Server

MFT- Inbound S FTP with SSH Key not working

Any attempt to SFTP using ssh key (open ssh) from non-MFT to MFT server is prompting for password default.

ERROR
-----------------------
Error Log :
[2017-06-27T16:16:25.789+00:00] [socq317__server_1] [ERROR] [] [oracle.mft.SECURITY] [tid: sshd-SshServer[161df447]-nio2-thread-1] [userId: ] [ecid: 54f415c5-98d8-4534-9ad8-2b0bd0fcc89a-0000000a,0:99:105:1] [APP: mft-app] [partition-name: DOMAIN] [tenant-name: GLOBAL] Exception while Authenticating User :testsftp[[
oracle.igf.ids.AuthenticationException: Null password
  at oracle.igf.ids.UserManager.authenticateUser(UserManager.java:516)
  at oracle.igf.ids.UserManager.authenticateUser(UserManager.java:465)
  at oracle.tip.mft.security.IdentityServiceImpl.authenticate(IdentityServiceImpl.java:153)
  at oracle.tip.mft.es.MFTESAuthenticationManagerImpl.authenticate(MFTESAuthenticationManagerImpl.java:91)
  at oracle.tip.es.security.authentication.impl.PasswordAuthenticatorSSH.authenticate(PasswordAuthenticatorSSH.java:101)
  at org.apache.sshd.server.auth.UserAuthPassword.checkPassword(UserAuthPassword.java:60)
  at org.apache.sshd.server.auth.UserAuthPassword.doAuth(UserAuthPassword.java:54)
  at org.apache.sshd.server.auth.AbstractUserAuth.auth(AbstractUserAuth.java:49)
  at org.apache.sshd.server.session.ServerUserAuthService.process(ServerUserAuthService.java:145)
  at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:456)
  at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:351)
  at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:810)
  at org.apache.sshd.common.session.AbstractSession.messageReceiv




STEPS
-----------------------
The issue can be reproduced at will with the following steps:

Connect to embedded SFTP server with key config.

Notice it prompts for password. 

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