This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title: Enable authentication on each component in the cluster. | |
stepnum: 2 | |
ref: enable-auth | |
pre: | |
Enable authentication by specifying the key file on each | |
:program:`mongos` and :program:`mongod` in the cluster, including each | |
config server and shard. On each, specify the key file by doing one of | |
the following: | |
action: | |
- heading: Specify the key file in the configuration file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh you@yourlinode "wget -O - -q https://api.linode.com/?api_key=$LINODE_API_KEY\&api_action=domain.resource.update\&domainid=$DOMAINID\&resourceid=$RESOURCEID\&target=\`echo \$SSH_CLIENT | cut -d' ' -f1\`" |