intermediate-file-based-connectivity-sftp-known-hosts
Version 17.1 by marijn on 2022/05/17 09:29
SFTP Security
In the last microlearning, we discussed how to connect to an SFTP from eMagiz. In this microlearning, we want to expand our knowledge and look at a more complex security configuration when connecting to SFTP instances. The configuration we are talking about is the private key configuration.Should you have any questions, please get in touch with academy@emagiz.com.- Last update: August 25th, 2021
- Required reading time: 9 minutes
1. Prerequisites
- Basic knowledge of the eMagiz platform
- Novice course on File-based connectivity
2. Key concepts
This microlearning is about SFTP security.By SFTP security, we mean: Making sure that the SFTP we connect to knows that we are indeed eMagiz- Private key is unique per client
- Private key should only be known to the client
- Public key should be known to the SFTP (server), so they trust us when we set up the communication
- A private key comes with a passphrase
3. SFTP Security
In the last microlearning, we discussed how to connect to an SFTP from eMagiz. In this microlearning, we want to expand our knowledge and look at a more complex security configuration when connecting to SFTP instances. The configuration we are talking about is the private key configuration.- Private key is unique per client
- Private key should only be known to the client
- Public key should be known to the SFTP (server), so they trust us when we set up the communication
- A private key comes with a passphrase

Practice
4. Assignment
Check within your project(s) whether an SFTP connection is secured with the help of private key construction. This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment.5. Key takeaways
- Private key is unique per client
- Private key should only be known to the client
- Public key should be known to the SFTP (server), so they trust us when we set up the communication
- A private key comes with a passphrase
6. Suggested Additional Readings
If you are interested in this topic and want more information, please read the release notes provided by eMagiz. Furthermore, check out these links:- https://docs.spring.io/spring-integration/docs/2.2.6.RELEASE/reference/html/sftp.html#sftp-outbound
- https://docs.spring.io/spring-integration/docs/2.2.6.RELEASE/reference/html/sftp.html#sftp-session-factory
- https://www.2brightsparks.com/resources/articles/sftp-authentication.html