IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

SFTP, OpenSSH with Password Authentication, not RSA Key

  • 1.  SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu August 02, 2007 05:45 AM

    We installed Cygwin and the OpenSSH package, and have successfully used it with a trading partner, using the RSA key authentication.

    Now, we have a trading partner that has a SFTP server for us to pick up files from, but we have found out that they cannot support RSA key authentication. They have told that they can only support password authentication.

    Well, we have tried many things and to no avail.

    What are we not doing? We haven’t been able to find any documentation to deal with this specifically. Any documentation we have seen pertains to user-interaction with the console to type in the password, or, that we should use RSA key (which isn’t an option for this round).

    What part of the setup are we missing? What parameter or configuration are we missing? Where do we specify the password?

    Thanks for any help.
    Wayne


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 2.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Tue August 21, 2007 08:03 PM

    Wayne,
    To use sftp you must have some type of SSH available. Did you exchange any authentication key?

    -Jim


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Tue August 21, 2007 08:15 PM

    Thanks for the reply.

    Yes, we have Openssh setup and functional. We use it for one trading partner which we have exchanged authentication keys.

    But the new trading partner can only use password authentication, NOT authentication with a key.

    Wayne


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu August 30, 2007 05:01 PM

    I am having a similar implementation and what I did is I downloaded some ssh java package from the net and make some java code customization to authenticate using password.
    And I was able to execute the Sftp successfully from linux using same JVM; however when I call it from Java service it made the IS Server(6.5) shutdown abnormally then when I put the exception handling piece I saw that it throws this exception

    invalid protocol(kex): 21

    Probably its a setup issue since its working fine from linux.

    Wayne, Did you manage to get a resolution ?

    Any direction where to look is appreciated

    Thanks,

    • Mohammad.

    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Mon April 18, 2011 07:08 AM

    Would you please share your resolution about it? We have a new partner request to use the Password authentication too. Thanks a lot.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Mon April 18, 2011 07:43 PM

    you may try:
    JSch - Java Secure Channel
    it’s pure java, you should have option of use user/pass auth


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Tue February 14, 2012 06:26 PM

    We are on wm8.0 and the wasftp package supports sftp with a username and password instead of keys.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Tue February 14, 2012 09:22 PM

    I don’t think it supports with out any keys unless the target FTP server puts less restrictions/ignore keys/cert validation from your IP.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 9.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Wed March 13, 2013 08:58 PM

    Chris,Where did you get this package from Empower site?

    Also does it support on 712/713?

    Please advise your inputs:

    TIA,
    RMG


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 10.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Wed March 13, 2013 09:30 PM

    I’m unsure what you mean by 712/713.
    I’m also unsure where the package came from. I have not been able to find out who the first user was at our site to find out where it came from. I have a clean install of WM8.0 on my desktop and the package is not there so that tells me this was an add on.
    The package contains mostly java services(I’m not a java guy). The login service appears to connect via a jscsh session.


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 11.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Wed March 13, 2013 10:35 PM

    I was referring to IS 712/713.

    So you have the package installed by some one else from your team as WasFTP package services you been using on 8.0 If I understand you correctly?

    I assume your team build that custom package via JCraft Java methods for SFTP?


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 12.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 05:46 AM

    Hi cbordeaux,
    Could I ask you to email me the zipped pacakge wasftp? We need to use SFTP and I am going nuts at this point of time.

    I will shortly send you a private email with my details

    Thanks heaps mate,


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 13.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 03:30 PM

    I talked to the guy who downloaded the package. He is pretty sure he downloaded it from either here or the empower site. I have searched both sites pretty well and cannot find the package.


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 14.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 03:34 PM

    I tried to reply to your PM but it said your inbox was full. I also tried to email your hotmail account but received an error that the address could not be found.

    Until I figure out where it came from I can’t in good conscience send it out since I did not write it myself. I would think that to be similar to pirated software. If I can figure out where we got it from and can find a link for it I’ll certainly send it out.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 15.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 04:12 PM

    I opened a ticket with SoftwareAG asking if they have any issue with me sharing the package. If they don’t have an issue I expect it will be ok to share it here.


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 16.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 05:01 PM

    Sorry…I have freed up my PM…

    Great…thanks Chris for trying more:


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 17.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 08:45 PM

    Software AG said I could send out the package. They said it used to be available for download. They also said that SFTP should be part of WM 9.0.

    I tried to upload the package but it is about 230k zipped and the site will only allow 97k. Does anyone know of a way around that or have special privileges? I would rather post it somewhere public than email it to everyone who wants a copy.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 18.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 08:53 PM

    some what good news and thanks for the update…but they support it from Active Transfer product for now.

    Can you upload it to google drive and share?


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 19.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 09:13 PM

    great idea, here is the link.
    [url]https://docs.google.com/file/d/0BzEc0nAyqInlX3l0NEZYVUhJeVk/edit?usp=sharing[/url]
    you should be able to click the link and then go to File/download and download it.


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 20.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 09:50 PM

    This “pirated software” and “consciousness” statements are out of context. How could YOU use it when you don’t know its source? If the lack of source identity makes it (potentially) pirated then it should be for you as well as others. The truth is there is NOTHING about that package on the net except on this forum, so it is highly unlikely to be copyrighted work, and it is highly likely to be the work of some enthusiast who never cared if it gets copied or passed on and you are unlikely to ever find who they were. That is enough evidence from ethical and legal perspectives to pass on knowledge to others in need, but I guess because you already have that package you can sit and talk about conciseness when it comes to helping others. Nevermind sir! We will find another way.


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 21.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 14, 2013 10:25 PM

    You must have missed the previous posts where I received permission from Software AG to post the info, I put up a link for download.

    In follow up to your other comments, based on conversations with the guy that downloaded the package, I was pretty certain the package came from SoftwareAG. If we download a package that we have a license to do so and then I post it to the internet without their permission, unlicensed users could then download it and use it even though they never paid for the license. Most of our 8.0 packages could be used in WM 6.5 with no problem. If a user had let their license expire and were no longer paying support to SoftwareAG and then we put an 8.0 package out there, they would be using a package that they did not have access to per their license. To me that is giving away software to users who had not paid the appropriate licensing for. To me it would be no different than someone posting a free download for Windows 8 when a lot of people have not paid for that license yet.

    If we had developed a package in house and (with appropriate internal approvals) decided to make it available for download that would be a different story.

    The good news is that since waSFTP was a “sample” package, SoftwareAG gave approval for us to make it available for download.


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 22.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Fri March 15, 2013 03:27 AM

    Thanks much and kudos!


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 23.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Fri March 15, 2013 04:08 AM

    I can no longer complain now that I have the package. Merci beaucoup!


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 24.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key



  • 25.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 28, 2013 01:01 PM

    Yes, SFTP will be an official release with more sophisticated UI’s for management and its not an OpenSSH implementation, instead its JSch library. Which has both username/Password and public key auth.

    Cheers,
    Niteesh


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 26.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 28, 2013 02:36 PM

    You are right. SFTP will be added to wM, but I believe it will be in version 10, so until that version comes out and systems are upgrade to it, people need a good solution. I ended up using the simpler yet efficient Putty instead of this weird package.


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 27.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 28, 2013 02:48 PM

    SAG product Active Transfer handles SFTP and FTPS and they point to that as ann alternative for now of course getting licensing is another thing…

    .But how are you managing with Putty for SFTP to partners instead of package services?


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 28.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 28, 2013 03:31 PM

    Hi,
    It will be a built in feature for WM 9.0(Excited about other features like command central, Mobile, Cloudstream too :slight_smile: ) GA is scheduled on mid or end of June. But alternatively i would prefer OpenSSH implementation(With public key auth), because I am using it in my current implementation for cx and its works pretty well(But you need to do lot of exception handling through wrapper).

    Cheers,
    Niteesh


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 29.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Thu March 28, 2013 03:43 PM

    Big thing is 9.0…not far away.

    Yes exception handling is the big problem and return codes not accurate mainly…even same with WaSFTP package also


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 30.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Fri March 29, 2013 08:11 AM

    hi all
    I’m using it in 712 and 821
    it works well,


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 31.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Fri March 29, 2013 03:09 PM

    Good,


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 32.  RE: SFTP, OpenSSH with Password Authentication, not RSA Key

    Posted Mon July 29, 2013 01:36 PM

    Namhoon,

    You said the WaSFTP package working in 712/812 versions.

    So is it working for user/password authentication based not by keys?

    Pleas share your details and I have some requirement coming up on this.


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport