By rumer878
I am trying to install server on runcloud through runcloud agent But he unable to make ssh into my server. It seems that the password authentication is not enabled on the server.
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!
Hi there,
In order to enable password authentication you need to edit the /etc/ssh/sshd_config file:
sudo nano /etc/ssh/sshd_config
Then find the PasswordAuthentication and set it to yes:
PasswordAuthentication yes
After that restart the SSH service:
sudo systemctl restart sshd
Hope that this helps! Regards, Bobby
Hello @rumer878
In order to enable Password level authentication, you can follow these steps.
sudo nano /etc/ssh/sshd_configPasswordAuthentication from “no” to “yes” and save the filesudo nano ~/.ssh/authorized_keyssudo nano /etc/ssh/sshd_configPasswordAuthentication from “yes” to “no” and save the filesudo systemctl restart sshdRegards, Alex
i cannot reset the password .i was done all the changes but cant connect droplet
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.