/usr/lib/x86_64-linux-gnu/glusterfs/peer_add_secret_pub is in glusterfs-common 3.5.2-2+deb8u3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | #!/bin/bash
if [ ! -d ~/.ssh ]; then
mkdir ~/.ssh;
chmod 700 ~/.ssh
chown root:root ~/.ssh
fi
cat "$GLUSTERD_WORKING_DIR"/geo-replication/common_secret.pem.pub >> ~/.ssh/authorized_keys
|