In case a faulty script started by .bashrc or .profile is failing and crashing SSH initiation, you could still login and fix the issue by running shell directly via ssh.
The command is –
ssh -t {username}@{hostname} /bin/sh
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.