I changed my Bash dotfiles and now I can’t log in. How do I fix this?
If you make an incorrect change to your dotfiles, it may prevent you from successfully logging in. For example, SCP and SFTP are both affected by spurious output from the login shell, so if you've made a change that causes output upon login, it might interfere with SCP and SFTP. You can disable the files you changed doing the following:
- Open http://mfile.umich.edu/ in a web browser.
- Click Log in.
- Click Show hidden files in the left pane.
- Click the checkbox next to the file you changed, such as .bashrc.
- Click Rename Selected File in the left pane.
- Rename the file by adding .old to the end of the file name.
You should now be able to log in.