Connection port 22: Broken pipe

How to solve the following error: packet_write_wait: Connection to XXX port 22: Broken pipe

Solution

nano /etc/ssh/ssh_config

ServerAliveInterval 120


systemctl restart ssh

ServerAliveInterval: Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) 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.

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Nach oben scrollen