Java Caps 5.1.3. and SFTP (FTP over SSH)

Hi,
I'm trying to use the BatchSFTP option from the batch eway to setup FTP over SSH. I'm having trouble in setting up the keyfile. I've generated a trusted_hosts file using openSSH via CYGWIN (I'm running on W2003 server). The error I get is: Batch SFTP eWay connection failed, method=[connect()], message=[Exception when connect(), e=java.io.IOException: Invalid SSH1 public key format].
Has anyone experience with FTP over SSH and can help me out on this.
Thank you very much,
Cor Zijlstra
[email protected]

You need to convert the server public key for the server that you are connecting with to the IETF SECSH format. If you have access to do that, you can run the command ssh-keygen -f myServerPublickey.pub -e > myIETFServerPublicKey.pub. Otherwise, your UNIX server admin will need to run that. Put the ITEF key in your .ssh directory and have CAPS reference that IETF format and you should be set. Make sure the connectivity map/env explorer is set to public key authentication.
I think there is a bug in CAPS with how it is handling the SSH formated key. I have been unable to prove it to support. Furthermore, more pressing issues have taken up my time (aka, other projects).
John

Similar Messages

  • How to handle SFTP (ftp over SSH)

    Hi there,
    I know XI only supports FTP (and FTPS(SSL)) when trying to exchange files with other systems.
    Right now, i have to interconnect a legacy with XI. This external server uses SFTP (FTP over SSH) as an standard of file transfering process.
    Could you please tell me if there is a possibility to integrate them?
    Best regards,
    David

    You'll need either to:
    - develop the connection in a java proxy,
    - develop your own adapter,
    - buy an adapter for SFTP from a 3rd party,
    - if you have UNIX as OS, use OS commands (through shell script in a file adapter for example) to start SSH/SFTP connection.
    Regards,
    Henrique.

  • Issue with permissions when using SFTP (FTP over SSH)

    I have an issue when i use SFTP, for some reason users are able to browse the system's root directory and other user's directories. Also some users don't have access to the FTPRoot alias and some do. If i connect using FTP everything is fine. Can someone shed some light on this issue.
    Thanks,
    Toros

    There is absolutely no correlation between FTP and SFTP.
    SFTP is actually a file transfer run over SSH and therefore subject to the normal account/shell restrictions, just as if the user logged in via SSH.
    What you're confusing it with (easily done) is FTPS, which is SSL-encrypted FTP. This uses SSL/TLS to secure a FTP connection and is subject to the account restrictions defined in the FTP server, independent of the user's shell access.
    So, in other words, SFTP uses a SSH session to transfer files. FTPS uses SSL to secure a FTP session.
    There's no trivial way to prevent a SFTP user from walking through the directory tree since there's no difference between their SFTP session and an SSH session.

  • Java Secure channel for FTP over SSH

    Does the Jsch provided by JCRAFT support authentication and authorisation via public key certificates? If yes then is there website which gives me some info on this?
    I checked out the site http://www.jcraft.com/jsch/index.html but this does not provide much info on the certificates.
    If anyone knows some information regarding this, kindly reply ASAP
    Thanks

    One of the examples provided with the ditribution actually generates those keys. I will admit, the documentation for JSch is very thin, but they provide examples for everything with the distribution. If you wish to use a key generated by another program, make sure that the key provided is in OpenSSH format (Putty and Secure SSH formats don't work).

  • Is there any API's for providing FTP using ssh port.

    Currently we are having a requirement to FTP files only using ssh port(Secure FTP). Can anyone please suggest me an API which provides the FTP'ing operation using SSH port.

    I am currently using a Sinetfactory thirdparty package from JScape for the Secure FTP functionality(FTP over SSH). But Sinetfactory package tranfer rate is much slower than the manual sftp(command-line run in linux server for manual ftp using ssh).
    Since it is very slower than ordinary sftp(ftp over ssh), I thought of using other thirdparty FTP package which supports FTP using ssh port. Can anyone please suggest me a thirdparty package which will has the sftp functionality and with better transfer rate.

  • Web service calling java Caps

    Hi,
    I have developed a web service application in java caps 5.1.3 and can able to call that from the client successfully.
    But I dont want to create web service in java caps 5.1.3, the web service should run in weblogic server and the business logic it used should run in java caps.
    How should be the communication between web service and java caps
    please suggest

    Could you please paste your WSDL?

  • FTP over SSL connectivity in File Adapter

    Hi All,
      I request your suggestion on my problem.  I have a scenario idoc to file where I am connecting to my vendor server throught SFTP (Ftp over SSL).  In this my vendor specifically told that to obtain secure FTP connectivity to their server they require a pre-approved Secure FTP client be used to access the service.
    So as per this requirement first our XI server need to coneect to the pre-approved client and the connectivity will happen to the vender server.  He list the pre-approved client as below
    *Cleo Lexicom 2.1
    *TrailBlazer ZMOD FTP Client V3R1 PTF Level PFT3100034
    *QualEDI for Windows, 32-bit version
    *Ascential DataStage TX, Release 7.5
    *Future 3 - Advanced Communication Module Plus (ACM Plus)
    *eBridge FTPS Communicator for GXS version 5.3
    *Ipswitch Inc's WS_FTP Professional version 8.02.
    ·Robo-FTP version 3.2
    Please let me know will this be possible from our file adapter.  Currently as per this requirement we open up the port of XI server for SFTP connecvity but through this we can have host to host connection over SFTP and not sure whether we can connect to client software and from their to vendor sever.
    Kindly needful your suggestion/solution on this.
    Regards,
    Dhill

    Hi,
      Thank you,  Yes I have used FTPS only please find the below details given in the communication channel.
    <b>FTP Connection Parameters</b>
    Server: ServerName
    Port : 6366 (specified by vendor)
    Data connection : Passive
    Timeout(secs) : 65
    Connection Security: FTPS (FTP Using SSL/TLS) for Control and Data Connection
    Command Order: AUTH TLS, USER, PASS, PBSZ, PROT
    Keystore: service_ssl
    X-509 Certificate and Private Key: ssl-credentials
    User Name : Vendor user name
    Password: Vendor given password
    Connect Mode: Permanantly
    Transfer Mode: Text
    Maximum Concurrency: 1
    and also as per he list given by vendeor we can use *Ipswitch Inc's WS_FTP Professional version 8.02.
    <b>Note:</b> We have Deploying the SAP Java Cryptographic Toolkit and also CA certificate used to sign the server certificate added to the TrustedCAs keystore view.
    So If possible i request you to kindly provide the details how we need to specify the client software between our XI server and Vender server as you mentioned in your solution.
    Please let me know your mail id, i will forward the screenshot of my communication channel.
    Kindly appreciate your help on this.
    Regards,
    Dhill.

  • SFTP and the FTP Log - DW MX2004

    Can anyone tell me why DW MX2004's FTP Log just records blank
    lines when using SFTP? Is there a way to change this and do later
    versions do the same thing?
    Thanks!

    Folks:
    Problem solved.
    It's clear that FTP and SFTP are fundamentally different protocols, but the DW protocol selection strongly implies similarity by offering SFTP as a minor option under the main selection of FTP.    I think it would be much clearer if SFTP were offered as a major option -- and then there would be an opportunity for offering SFTP options, too.
    Here's a way of distinguishing which of these two is active:  Connecting to the target site using FTP results in a succession of text entries in the optionally viewable FTP log  -- no surprise.   I discovered that connecting to the same site with the same credentials and the addition of checking the "Use SFTP" option results in only line feeds --scrolling, but no visible text-- in the FTP log window.  I guess that's a reasonable though a bit indirect way of informing users that the link is active and secure.   (What does one do to diagnose problems with SFTP for hosting services that don't support FTP?  I don't know there are such services but it should be the great majority of them.)  Works in DW CS3 but I didn't check CS5.
    Another option, untested but fairly obvious:  It's fairly easy these days to control host s/w (personal) firewalls -- even for low-tech users.  Establish and verify a link to your server using SFTP, then disable FTP; the link should fail.  And vice-versa.  This meets my specification of "simple" and should be  available with no extra expense and little trouble.
    Brief Editorial:  From the recent reading I've done on FTP versus SFTP,  it is clear that the time to discontinue all support for FTP  is long past.
    hen3ry

  • Stetting up FTP and SFTP adapters for the same interface

    Experts-
    I have a situation in which client has a requirement to setup both FTP and SFTP adapters (from adapetive adapters) for the same interface. They want to have a copy of file locally and also want a file to be sent out securly using SFTP. In my interface which was previously developed they have used one business system and added FTP and SFTP to the same. If try to add new Receiver Agreement it will say that the object already exists as the Interface Mapping is same.
    Please send me any suggestions which would resolve my problem

    Hi Hari,
    As you cannot create two Receiver agreement using only one receiver interface , please create a new receiver Interface, add that in interface determination step and then assing a different channel to new receiver agreement.
    If your requirement is to store the file ,i would suggest write the file in your unix directory using NFS( /usr/sap...). then run a AFT job (if already set up in your landscape) to transfer file securly to target destination.Not sure if its feasible in your case otherwise you can use  SFTP for the secure transfer.
    Best Regards
    Srinivas

  • Business Rules and Business Intelligence in Java CAPS 6

    Dear All,
    I have two doubts.
    1. Is there any way to add a Business Rule component and write Business rules in Java CAPS 6? As you may know, this is possible through eInsight in JCAPS 5.1.2.
    Is this feature readily available in Java CAPS 6? If yes, can you please let me know where it is?
    2. Are there any Business Intelligence tools in Java CAPS 6? If yes, what all things we can do with that?
    With warm regards,
    Sree.

    Sree,
    It sounds like you are talking about a Rules Engine - not necessarily a Business Process Manager..
    Also it depends on what you mean with "rule".
    The approach I mentioned previously about IDS-Scheer's Aris meant that a Business Process is modelled in Aris - that is the focus is on the business developer. However the actual implementation of the business process would need to be developed by a Developer. Likewise if a change is performed in the Business Process it would need to be retrofit into CAPS for implementation.
    When it comes to Rules Engines, Sun has a partnership with Yasu. Yasu have implemented their Rules Engine as a JBI SE, which would work with the JBI part of CAPS6, OpenESB or Glassfish ESB. More infor can be found at:: http://www.businesswireindia.com/PressRelease.asp?b2mid=12735.
    I am not aware of any explicit "business intelligence" functionality in the CAPS -suite.. Looking at the Jasper Suite however, the CAPS suite does have ETL functionality, no built in reporting, but a Master Data Management System (http://developers.sun.com/docs/javacaps/products/sun-mdm-suite.jsp), which I belive could assist decently when it comes to data quality and data source prioritization concerns.
    When it comes to Jaspersoft there are examples of how to build a CAPS6 JBI BAM solution using Jaspersoft's IReport (Netbeans Plugin), which in turn uses JasperReports.

  • UN/EDIFACT and ASC X12 Templates in Java CAPS 5.1.3

    Hi,
    I wonder whether we have the OTDs for UN/EDIFACT and ASC X12 messages in Java CAPS 5.1.3;It is not found in sun documentation after CAPS 5.1.0;Those were available earlier in ICAN too.
    If we don't have these in 5.1.3 it is very difficult for migration from earlier versions as well as for new development in EDI.
    Please let me know if any one of you are using the above OTDs / templates in 5.1.3 or if you have any idea how to process them in CAPS.
    Thanks in Advanace
    Nag

    They are now part of the B2B suite documented here: http://docs.sun.com/app/docs/coll/1650.2.
    However the libraries are essentially the same, therefore the upgrade should be easy.
    Note that B2B2 Suite 5.1.1 runs on Java CAPS 5.1.3.
    Please contact SUN Support: if you have the libraries for a previous release of ICAN of Java CAPS, the upgrade should be part of your contract.
    Edited by: eric.lerognon on May 11, 2008 11:08 PM

  • DW on Mac, CS3/CS5 using SFTP and/or FTP, need it secure!

    Folks:
    DW CS3 or CS5 running on an quad-Intel iMac, 10.6.4, connecting to a host that uses identical credentials for SFTP and FTP.
    It's important to be assured that the connection is in fact secure.
    If you set  "connect using SFTP" will DW CS3 complain if the connection cannot be made securely?  Will DW then default to ordinary, insecure FTP?  If so, will DW inform you?   Is there an easy way of verifying the current connection mode, SFTP or FTP, within DW? (The FTP connection log does not say.)  Is there an easy way of doing it in MacOS or with a simple utility? (Can be done, but not conveniently, with L'il Snitch.)
    Is DW CS5 any different?
    TIA,
    hen3ry

    Folks:
    Problem solved.
    It's clear that FTP and SFTP are fundamentally different protocols, but the DW protocol selection strongly implies similarity by offering SFTP as a minor option under the main selection of FTP.    I think it would be much clearer if SFTP were offered as a major option -- and then there would be an opportunity for offering SFTP options, too.
    Here's a way of distinguishing which of these two is active:  Connecting to the target site using FTP results in a succession of text entries in the optionally viewable FTP log  -- no surprise.   I discovered that connecting to the same site with the same credentials and the addition of checking the "Use SFTP" option results in only line feeds --scrolling, but no visible text-- in the FTP log window.  I guess that's a reasonable though a bit indirect way of informing users that the link is active and secure.   (What does one do to diagnose problems with SFTP for hosting services that don't support FTP?  I don't know there are such services but it should be the great majority of them.)  Works in DW CS3 but I didn't check CS5.
    Another option, untested but fairly obvious:  It's fairly easy these days to control host s/w (personal) firewalls -- even for low-tech users.  Establish and verify a link to your server using SFTP, then disable FTP; the link should fail.  And vice-versa.  This meets my specification of "simple" and should be  available with no extra expense and little trouble.
    Brief Editorial:  From the recent reading I've done on FTP versus SFTP,  it is clear that the time to discontinue all support for FTP  is long past.
    hen3ry

  • Java CAPS SAP IDoc OTD thru IDOC descriptive file needs any sap jars and dd

    Hi All,
    I am doing PoC in Java CAPS using SAP IDoc Descriptive file. As I know for creating SAP IDoc OTD thru it will need certail jar filr and ddls. But creating SAP IDoc ITD thru IDoc descriptive file also we need certain jar files and DLL.
    Please let me know on this.
    Thanks in advance.

    Yes, you will need all of the required SAP JCo jars and DLLs even though you are using the IDoc description file. This link might be useful to you - [Creating a SAP ALE OTDs Wizard|http://docs.sun.com/app/docs/doc/820-4380/dsgn_sap-ale-otd_t?a=view]

  • Java CAPS and Siebel

    We are currently using SeeBeyond 5.0.5 and have begun to look at upgrading it to Java CAPS 6 (in the preliminary research stage right now). One of the products we use is Siebel 6.0.1 but the Wiki page (http://wikis.sun.com/display/JavaCAPS/Sun+Adapter+for+Siebel+EAI) says the Siebel adapter for Java CAPS only supports 7, 7,X and 7.8. Is there a Siebel 6.X adapter for Java CAPS 6?
    Thanks,
    Jon

    If you have installed repository then you can find an example of HL7 Inbound and HL7 Outbound project. These examples use JMS
    Sid

  • FTPS and SFTP

    hi, what is the difference between FTPS and SFTP and does XI support FTPS and SFTP.  Please elaborate.
    krishnan

    Hi also have a look at this
    if u want to view the difference between FTPS (that XI supports) and SFTP, please refer this link
    http://www.enterprisedt.com/forums/viewtopic.php?p=136&sid=28d66491b43c6bf90448deea4936bc15
    HTTPS / SFTP with XI
    Hey have a look at the following also
    http://en.wikipedia.org/wiki/FTPS
    Thanks !!

Maybe you are looking for

  • Images corrupted in application package.

    Hi All, I am using .png images in my application. After building the application. It creates myfirst.app ... if I right click it in finder and select "Show package Content" .. it shows list of resources. If I try to open the images (.png) ... some of

  • TV Overscan option is shaded out on nvidia-settings - How to fix it?

    I had this problem before already, but I forgot what I did to able to change nvidia-setting overscan option. At the moment it is shaded out so that I can't change it. What can I do? Nevermind... I kind of solved it. I didn't have to do it for this tv

  • How do you compile a lifecycle module

    I want to develop a Lifecycle module for Sun Java System Application Server 8, Platform Edition. I have read through http://docs.sun.com/source/817-6087/dglfcycl.html#wp16956 . The bit of info that is missing from this document is the name of the jar

  • Library missing, can't open any books (Mac)

    I tried to open a book tonight and not only wouldn't it (or any other book open) but my entire library has disappeared. Following another discussion I found my manifest file, or what appears to be it on my Mac since those directions were for a PC, an

  • LDAP, ADS, and Java API???

    Hi buddies, I am to design a web-page (basically a servlet or JSP page) that accepts a username and pwd. The deal is to authenticate this user against the Active Directory Service which is basically on win 2003 server machine. Now how do I achieve th