Project: springxd
Issue XD-3394: Known Hosts Configuration for SFTP Source
Spring Integration 4.2 changed the default SFTP session factory to *not* accept keys from unknown hosts by default. This is more secure. You either have to provide a pre-populated {{known_hosts}} file or set {{allowUnknownKeys}} to true. If you do both, the keys will be automatically added to the known hosts file. When updating XD to 4.2.0.RC1 I simply set the boolean to true, to retain the previous behavior. Add properties to the SFTP source to allow configuration of these properties at the stream level.
Story points: 1