Please help. Everything was working fine. How can I connect to the command line now?
Amazon EC2 server
Ubuntu & Apache2
Only one user (root - not real name) has SSH access, publickey only
All other users allowed SFTP access, chrooted to home directory
I connected to the server via SSH.
In a user's home directory, I edited a php file and moved a directory.
I logged out.
Now I can't access the server via SSH. When I try to connect via SSH, my public key is tried but does not allow access. Once the public key fails, it checks other public keys on my machine and then gives
Too many authentication failures for.... The public key file has not been modified in months.
Can still connect via SFTP but I am chrooted to the user's home directory.
How can I access my command line prompt? What should I do?