Obtaining the Host Key
The host key can be obtained using OpenSSH's ssh-keyscan tool:
ssh-keyscan -t <hostKeyType> -p <port> <hostDomain>
Each bank has different conventions for file location and naming. Extend this sample to match the way your bank provides daily bank statements. Use the following set of basic configuration fields to download a specific file from the sFTP server:
-
Download File Name – The specific file to download from the server.
-
Download Directory – The folder location on the server (path relative to the user's home directory) where the file resides.
-
Download Timeout – The number of seconds to allow the file to download.
-
Bank Statement Format — Any format that has a Bank Statement Parser Plug-in is supported.
If any of these configuration fields are not required for your sFTP connection to a bank, you can remove them or change the values as required.