Report this

What is the reason for this report?

ssh required password after reinstall operation system

Posted on July 3, 2016

I reinstall OS from ubuntu 14.04 lts to linux mint 18. After I generated new ssh-key: $ ssh-keygen -t rsa

After I posted my new ssh key to settings account. When I try to conncet

$ ssh root@n.n.n.n it shows an error - http://pastebin.com/zj0SH6i6 My sshconfig - http://pastebin.com/2rmqTBim

After I added dsa ssh-key: $ ssh-keygen -t dsa

And it printed me similar error.



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This question was answered by @MichaelOjeda:

Anboo,

A few questions: did you add your public key, or keys for that matter, to your root user’s authorized_keys file? Does your user, server-end, have proper permissions setup on your .ssh/ folder? Have you restart your ssh service via the command “service ssh restart,” or a reboot? Your client is clearly, lines 104 and 110, trying to use the keys you made; and then failing on lines 108 and 114.

By the way, you public IP address , and ssh port, is pretty visible in your debug file.

View the original comment

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.