cuaderno de campo

anotaciones

Menú
  • casa
    • dinou del carrer nou
  • cocina
    • pan
    • repostería
    • verdura
  • huerto
    • plano del número 29
    • huerto del año 2023
  • humanidades
    • fonoteca
    • galería
  • juego
    • colección de roms
    • lista de juegos
    • dosbox
  • linux
    • bash
    • sistema operativo
    • ssh
  • web
    • apache
    • css
    • html5
    • javascript
    • mysql
    • php
Menú

ssh: conexiones rotas al rato

Publicado el 25 de junio de 20187 de septiembre de 2021 por ernesto
  • del lado del cliente
  • del lado del servidor
  • ServerAliveInterval y ClientAliveInterval

si no se quiere que la conexión ssh se interrumpa por sí sola al cabo de un tiempo, son necesarios dos cambios:

del lado del cliente

nano .ssh/config

Host *
ServerAliveInterval 45
ServerAliveCountMax 3

del lado del servidor

sudo nano /etc/ssh/sshd_config

ClientAliveInterval 45
ClientAliveCountMax 3

ServerAliveInterval y ClientAliveInterval

Sets a timeout interval in seconds after which if no data has been received from the server, ssh will send a message through the encrypted channel to request a response from the server. The default is 0, indicating that these messages will not be sent to the server.

ServerAliveInterval de «ssh_config» en OpenBSD.

Sets a timeout interval in seconds after which if no data has been received from the client, sshd will send a message through the encrypted channel to request a response from the client. The default is 0, indicating that these messages will not be sent to the client.

ClientAliveInterval de «ssh_config» en OpenBSD.
Etiquetado como clientalivecountmax, clientaliveinterval, serveralivecountmax, serveraliveinterval
  • ssh: configuración servidor-cliente

    Puesto al día el 11 de julio de 2023. configuración del servidor el servidor ssh…

  • ssh : entorno de ejecución

    por defecto, una conexión ssh se desarrolla en un entorno de ejecución sh (más ligero,…

RSS rutas fuera

  • Plague Bearer – Summoning Apocalyptic Devastation (2023) 18 de septiembre de 2023 Belisario
  • Yetis en España, con Javier Resines, en Angulo 13 16 de septiembre de 2023 Javier Resines
  • Sadistic Metal Reviews: Metal Jihad Edition 11 de septiembre de 2023 Brett Stevens
  • Beats and yelling shorts, 6th September 23 6 de septiembre de 2023 Hate Meditations
  • Cemetery Urn – Suffer the Fallen (2023) 3 de septiembre de 2023 Brett Stevens
  • Necropolis #75 – On Norwegian Black Metal 3 de septiembre de 2023 Hate Meditations
  • Beats and yelling: Horrendous cut the ribbon on their long awaited Funhouse 28 de agosto de 2023 Hate Meditations
  • Complete Snake release Red Hog 28 de agosto de 2023 hessianfirm
  • Beats and yelling shorts, 26th August 23 26 de agosto de 2023 Hate Meditations

Categorías

apache bash casa cocina corral css exterior fonoteca galería html5 huerto humanidades humanidades digitales interior jardín javascript juego linux mysql pan php repostería sistema operativo ssh verdura web

Archivo

cuaderno de campo 2011-2023