Show Table of Contents
9.10.6. Configuring Secure Shell Access
Use the following procedure to correctly configure the
sshd service on the node host:
- Append the following line to the
/etc/ssh/sshd_configfile to configure thesshddaemon to pass theGIT_SSHenvironment variable:AcceptEnv GIT_SSH
- The
sshddaemon handles a high number ofSSHconnections from developers connecting to the node host to push their changes. Increase the limits on the number of connections to the node host to accommodate this volume:#
sed -i -e "s/^#MaxSessions .*\$/MaxSessions 40/" /etc/ssh/sshd_config#sed -i -e "s/^#MaxStartups .*\$/MaxStartups 40/" /etc/ssh/sshd_config
Note
If you use the kickstart or bash script, the
configure_sshd_on_node function performs these steps.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.