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
1 year agoNew Contributor III
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...
- 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
Kamila
1 year agoContributor
Hi Mithun,
I have the same issue now, did you manage to solve it? Thanks!
- mithun_laha1 year agoNew Contributor III
Hi Kamila,
I hope this message finds you well.
Please follow the steps below to set up the SFTP connection:
- Save the .ppk file into the fileshare folder.
- Use the .ppk file in the sessionOptions variable (SshPrivateKeyPath)
If you have any questions or need further assistance, please don't hesitate to reach out.
Thank you,
Mithun- Kamila1 year agoContributor
Thanks Mithun, I already did that and still have the error:
Any ideas? Thanks!
- mithun_laha1 year agoNew Contributor III
Hi Kamila,
Could you please share the code you have for sessionOptions? Kindly ensure that all credentials are removed before sharing.
Best regards,
Mithun
Related Content
- 3 months ago