EHS6-SFTP.. This is posible? | Thales IoT Developer Community
February 21, 2022 - 9:21am, 736 views
Is it possible to implement SFTP with the EHS6 module? I have downloaded the ftp2Me class and I have been able to download files by ftp, but now I need to access an SSH server, for which I understand that I would have to switch to an SFTP protocol. This is possible with the EHS6 module ?. Is there a class (similar to ftp2me) that makes it easier for me to implement it?
regards.
Hello,
You probably may need to adopt some code. We don't have such an example here. We only have FTPS with ftp2me and BouncyCastle. I'm not sure what is necessary to implement SFTP. The module supports secure connections in general. So if it only comes down to the implementation on top of that it, I suppose that it should be possible. If there would be a need to open an unsecured socket and then initiate a secure connection some additional libraries might be necessary (like BouncyCastle) and the whole solution would be heavier then.
Regards,
Bartłomiej
Thank you Bartłomiej,
If I manage to implement it, I'll leave a note here.
Regards,
Marcos