Skip to content

Handle when bashrc returns non-zero exit code

If your login shell is Bash and the last command in your bashrc returns a non-zero exit code, then ssh user@host exit will return the same non-zero exit code, when in this case we just want to test if we can establish a SSH connection.

Merge request reports

Loading