Configuring Password-Free Login
Enable ceph1 and client1 to access all server and client nodes (including ceph1 and client1) without a password.
- Generate a public key on ceph1 and deliver it to other server and client nodes.
1 2 3
ssh-keygen -t rsa for i in {1..3}; do ssh-copy-id ceph$i; done for i in {1..3}; do ssh-copy-id client$i; done
After inputting the first command ssh-keygen -t rsa, press Enter to use the default configuration.
- Generate a public key on client1 and deliver it to each server node and client node.
1 2 3
ssh-keygen -t rsa for i in {1..3}; do ssh-copy-id ceph$i; done for i in {1..3}; do ssh-copy-id client$i; done
After inputting the first command ssh-keygen -t rsa, press Enter to use the default configuration.
Parent topic: Configuring the System