Hi,
Here is my problem: http://imgur.com/I4lAxKU
Background:
I have a LEMP on Ubuntu 14.04 droplet that has our main website/system on it and still we are using it everyday. I have done many configurations to this droplet but the important are these:
Problem:
Hard drive failed on my laptop and I have no backups on the ssh key! So I searched online and I found that there is 2 ways. The first one is that I take a snapshot and create another droplet and access the new droplet and the only thing that happens is that the ip address will change and life is good. The second way is that I reset my root password from the control panel or if that does not work, I request for ISO recovery from the support team and try to change some settings in there and then reset the root password.
I have asked for the ISO recovery and I have accessed my data to reconfigure the sshd_config file. I have set the permit root login to yes and also I have commented out the line that sets the password authentication to no.
After changing the setting I have asked the support team to unmount the ISO recovery so that I can try from Console Access. And when I enter root for username and the new password for the password prompt, this is what happens: http://imgur.com/I4lAxKU It logs in and right after 1 second or less, it kicks me out and ask for the username and password again.
By the way the default port is still 17 and I did not change it to 22 because I don’t think that is the problem. If that was a problem, why the server is responding and on top of that why it logs me in.
Please advice.
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
As it shows just before kicking you out (see https://i.imgur.com/6x3l661.png):
Cannot execute bash: No such file or directory
Also, 116 security updates? Might want to take care of that.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.