I am on Centos 6.6 and recently updated my server using yum, it updated a bunch of things and everything seemed fine, but I was also trying to update Ruby RVM and Node.js and NPM (Node Package Manager)... Got a weird error, when I exited as root, then when I logged out and tried to log back in I am now getting this:
Seans-Laptop:~ zweb$ ssh [email protected]
[email protected]'s password:
Last login: Sat Nov 21 05:25:44 2015 from c-XX-XX-XX-XX.hsd1.ca.comcast.net
ERROR: Missing proper 'which' command. Make sure it is installed before using RVM!
Connection to XX.XX.XX.XX closed.
Does anyone have any idea how to fix this? I tried to disable loading the .bash_profile when logging in but that didn't work. I can't SSH into my server at all now from both root and my user account.
All of my websites are still up and running, but I can't login or SFTP to work on them.