Greetings Experts,
I am working for a bank client and have a question on connect-direct and SFTP.
We are using Linux RedHat servers. We use connect-direct to transfer (NDM) files from one server to another server. At times, we manually transfer the files using SFTP from one server to another server. We have a portal for connect-direct to check the list of nodes/servers configured to send/receive the files on a specific server.
With above given information..
I had a requirement to transfer a file from SIT environment to PROD environment (I know its not correct way, but due to un-avoidable situation did it). I had checked whether the connect-direct is configured between the 2 servers and confirm that they are not configured (verified netmap entries also). As no other alternative, I tried SFTP and transferred the file using SFTP successfully.
I was under the impression that SFTP will be successful between the servers only for which connect-direct is configured (atleast at server-level and not user-id level) between them.
I am not able to understand on below. Can you please help to explain.
Questions:
-
As SFTP successful, how can I know the list of servers I can successfully transfer through SFTP. Is there any file which contains the list of servers that can be connected to. Or is that I can connect to any servers through SFTP without any issues if I have the passwords.
-
Does SFTP also use the public and private keys for connections and transmission.
-
For SFTP, will it refer to both specified user-id home-directories on source and target servers or only on source server or only on target server.
-
Is there any way to restrict the users have SFTP access and allow only the specified users to have SFTP access.
-
Does connect-direct also use the public and private keys for connection establishment.
Thank you for your valuable suggestions and time.