How to create and test ssh keys for IBM Cloud Private
Before to install IBM Cloud Private you need to prepares your virtual machines by follow the steps inside here , an important part of this steps is setup correctly rsa keys in all nodes. Based on Cloud private documentation , the steps are really simple ssh-keygen -b 4096 -t rsa -f ~/.ssh/master.id_rsa -N "" cat ~/.ssh/master.id_rsa.pub | sudo tee -a ~/.ssh/authorized_keys ssh-copy-id -i ~/.ssh/master.id_rsa.pub root@<node_ip_address> Log in to the master, worker, or proxy node and restart sshd service Now the next step is to test if the communication between boot and other servers is working but if you ran the command ssh root@<node_ip_address> a password is required to login as root user, it seems someting is wrong... This is not true because by default sshd daemon is looking for a file called id_rsa and not master.id_rsa. To test correctly the rsa key you need to run this command: ssh -i ~/.ssh/master.id_rsa root@<node_ip_address> ...