255 Error when using SSH

Nathan Dunn picture Nathan Dunn · Jan 22, 2014 · Viewed 18.5k times · Source

When using SSH on my Chromebook using the Google Secure Shell app to connect to my Debian DigitalOcean droplet, the connection drops suddenly after around 2 minutes of use and I am receiving this error message:

NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?

Any suggestions on what this is? Many thanks, Nathan

Answer

rginda picture rginda · Feb 28, 2014

This is most likely a NAT idle timeout in your home router. Try adding -o TCPKeepAlive=yes to the "SSH Arguments" field of the connection dialog.

If it's not a NAT issue, then the second most likely option is that you've imported a config file (using Secure Shell's "Import..." link in the connection dialog) that specifies a ServerAliveInterval, which does not work properly in Secure Shell.