Blocked when SSH’in due to startup error? SSH without running .bashrc

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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *