edespino commented on issue #746: URL: https://github.com/apache/cloudberry/issues/746#issuecomment-2513810773
I actually believe the user does have an ssh key created and in the proper location. The error would be different if it didn't exist. I believe the issue is that the initial host verification has not taken place. One can use ssh-keyscan to help with this. Essentially run the following replacing HOSTNAME for all hosts in the cluster. This should fix your issue: `ssh-keyscan HOSTNAME >> ~/.ssh/known_hosts` TL;DR ssh-keyscan is a utility that helps gather the public SSH host keys of a number of hosts. How does it helps with the initial SSH connection to a system? By building .ssh/known_hosts: ssh-keyscan collects the public keys of remote hosts and adds them to the .ssh/known_hosts file. This file is used by SSH to verify the identity of the remote host, preventing man-in-the-middle attacks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
