By Edu Leon
Hi The issue is that when i connect with root through ssh, it just connect without asking for password. Below is the what i modified in the config file. Anyone?
Authentication: PermitRootLogin yes PasswordAuthentication yes
ChallengeResponseAuthentication yes
UsePAM no
X11Forwarding yes PrintMotd no
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!
Hello there,
If you provided an SSH key when creating your DigitalOcean droplet, password authentication may have been automatically disabled.
On another note, if you have your ssh-key added to your droplet, the password authentication can be skipped due to the presence of the ssh-key pair.
If you’re using an ssh-client in your terminal you can add the -vvv to the ssh command, e.g - ssh -vvv user@DropletIp to get a more verbose output of how the connection was established.
Regards
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.