pub const EXIT_CONNECTION_FAILED: u32 = 255;
ssh exits 255 when it could not connect, could not authenticate, or the connection dropped; any other code is the remote command’s own.
ssh