Please check if the configured key or specified key file is a valid SSH Private Key. Error: Error configuring SSH: ssh: no key found
Steps:
WORKSTATION.
Save the key of your nodes on workstation.Step 1 — Create the RSA Key Pair
ssh-keygen
Enter and enter doesn't write anything.
Step 2 — Copy the Public Key to CentOS Server
ssh-copy-id username@remote_host
Copying Public Key Using SSH
cat ~/.ssh/id_rsa.pub | ssh username@remote_host "mkdir -p ~/.ssh && touch ~/.ssh/authorized_keys && chmod -R go= ~/.ssh && cat >> ~/.ssh/authorized_keys"
Check connect with ssh without password.
References:
No comments:
Post a Comment