ssh-keygen -f /var/lib/glusterd/geo-replication/secret.pem Generating public/private rsa key pair. /var/lib/glusterd/geo-replication/secret.pem already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /var/lib/glusterd/geo-replication/secret.pem. Your public key has been saved in /var/lib/glusterd/geo-replication/secret.pem.pub. The key fingerprint is: 51:1b:67:4a:cf:56:04:7b:19:e1:89:ac:26:01:b4:c2 root@cluster01 The key's randomart image is: +--[ RSA 2048]----+ | .o + +o=. | | . o o X = + | | E . o o B = | | . o o . | | S o | | o | | | | | | | +-----------------+ ssh-copy-id -i /var/lib/glusterd/geo-replication/secret.pem.pub root@cluster04 root@cluster04's password: Now try logging into the machine, with "ssh 'root@cluster04'", and check in: ~/.ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting.