You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2016/09/27 05:48:18 UTC

Re: Sftp known_host as byte array

There is a option with byte array

/**
 * Sets the known_hosts from the byte array, so that the SFTP endpoint
can do host key verification.
 */
public void setKnownHosts(byte[] knownHosts) {
    this.knownHosts = knownHosts;
}

On Sun, Sep 25, 2016 at 4:12 PM, Goyal, Arpit <ar...@sap.com> wrote:
> Hi colleagues
>
> Is it possible to set the known host of a sftp server call using byte array? Saw the configuration and found it to have only file connection.
>
> We can't use file system in our use case.
>
> Regards
> Arpit.
>
> Sent from my iPhone



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2