web stats
SFTP connection issue - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2014, 07:08 AM
Zidore Zidore is offline
Mirth Newb
 
Join Date: Jan 2013
Posts: 7
Zidore is on a distinguished road
Default SFTP connection issue

Hi,

I'm having trouble writing files using the sftp connector.

All the messages are queues and this error appear in the console :

"Kerberos username [sv-mirth]:"


I'm sure that my sftp username/password and url are correct.

I search the internet and find that

http://stackoverflow.com/questions/1...authentication

and that

https://www.mulesoft.org/jira/browse/MULE-6864

I dont know if this is the cause of my problem?

Do you have a solution?

I am using Mirth v 3.0.3.

Last edited by Zidore; 09-08-2014 at 08:29 AM. Reason: Add mirth version
Reply With Quote
  #2  
Old 11-17-2014, 08:03 AM
sbraconnier sbraconnier is offline
OBX.1 Kenobi
 
Join Date: Oct 2012
Posts: 27
sbraconnier is on a distinguished road
Default Same here...

I guess it is related to this issue:
http://www.mirthcorp.com/community/i...wse/MIRTH-3450

Any workaround to resolve this ??
Reply With Quote
  #3  
Old 11-17-2014, 09:00 AM
sbraconnier sbraconnier is offline
OBX.1 Kenobi
 
Join Date: Oct 2012
Posts: 27
sbraconnier is on a distinguished road
Default

We have been able to implement this workaround in the global deploy script:

var jsch = new Packages.com.jcraft.jsch.JSch();
jsch.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password");

But I think it would be better to apply this property only when a session is created:

JSch jsch = new JSch();
...
Session session = jsch.getSession(...);
...
session.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password");
...
session.connect(...);
Reply With Quote
Reply

Tags
kerberos, sftp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:09 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation