The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.

Forum Discussion

mithun_laha's avatar
mithun_laha
New Contributor III
1 year ago
Solved

SFTP Connection with PPK file

Hi Everyone, Has anyone worked on establishing an SFTP connection in extensibility rules using a PPK file? I am currently facing an issue where, despite setting the SshPrivateKeyPath property in the...
  • mithun_laha's avatar
    mithun_laha
    1 year ago

    Hi Kamila,

    Could you please try the following in the SshPrivateKeyPath:

    sessionOptions.SshPrivateKeyPath = $"{BRApi.Utilities.GetFileShareFolder(si, FileShareFolderTypes.ApplicationRoot, Nothing)}\AppName\ppk_file.ppk"


    If the above does not work, could you also try adding the port number in the sessionOptions? 

    Best regards,
    Mithun