Questo contenuto non è disponibile nella lingua selezionata.

9.10.6. Configuring Secure Shell Access


Use the following procedure to correctly configure the sshd service on the node host:
  1. Append the following line to the /etc/ssh/sshd_config file to configure the sshd daemon to pass the GIT_SSH environment variable:
    AcceptEnv GIT_SSH
    Copy to Clipboard Toggle word wrap
  2. The sshd daemon handles a high number of SSH connections 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
    Copy to Clipboard Toggle word wrap

Note

If you use the kickstart or bash script, the configure_sshd_on_node function performs these steps.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat