How to create sFTP Server instance using only username and public id
Hi,
I've been facing some issues with creating a sFTP server data instance. Currently, I have the host name, username and public key for the server.
a) I created FTP server data instance using hostname and created an authentication profile using username. Can anybody please tell me how and where to mention the public key for server. Do I have to mention my own client side public key as well somewhere?
b) In Pega help it says,
"Truststore – Provide the SSH public key of your FTP server in a Truststore record to restrict connectivity to this known host."
As per my understanding we should be able to restrict connectivity since we're already providing host name. So, Isn't a host name sufficient for uniquely identifying hosts? I think public key of the server is necessary for encrypting sent files but how will it help in restricting connectivity?