Skip to content

DefaultSftpSessionFactory file resolving inconsistency #3211

@m-terra

Description

@m-terra

Using Spring Boot 2.2.4 with Spring Integration SFTP 5.2.3

org.springframework.integration.sftp.session.DefaultSftpSessionFactory

Actual Behavior:
Property privateKey expects the prefix file: since it is resolved by Spring.
Property knownHosts does not work with file: prefix since it is passed directly to JCraft.

Expected Behavior:
Both properties privateKey and knownHosts work with file: prefix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions