Open zregvart opened 6 years ago
First step is to verify the functionality exists at Camel level
@zregvart do you mean by using the keyPair parameter in Camel-sftp component?
Or using privateKey as bytes as camel-sftp provides?
@oscerd I'm thinking of privateKey
parameter for camel-sftp
, we probably need a connector property that will accept the openssh format key and convert it to byte[]
for the ftp2
component. I'd expect the users to provide the key in a text box by pasting something like:
-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----
Understood, we'll need to set the preferredAuthentications in that case with public_key as first choice.
@paoloantinori @heiko-braun I don't think this will go in this Sprint, I'll take care of this for the next one. Totally forget about it :-|
Didn't have the time for this enhancement. Too much stuff also in sustaining team.
This issue has been automatically marked as stale because it has not had any activity since 60 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!
Perhaps we should consider this in the next sprint. I think it makes sense for SFTP to support public key authentication.
I completely forget about this again. Sorry.
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!
This is a...
The problem
For SFTP we support username and password authentication, we should also support public key authentication.
Expected behavior
Specify SSH private key instead of username and password to establish a connection to SFTP server.
Screenshot
Request and Response Data
API Endpoints and Schemas
Tasks involved / Steps to Reproduce
1. 2. 3. 4.