When login to the computer, bash profile loads. If the bash file has syntax error logging fails. And you cannot login to the machine because the connection get closed.
The trick is to press Ctrl+C
immediately after the login to prevent bash profile from loading.
Top comments (0)