I just installed a new vm of Debian from a netinst ISO, everything went fine.

But when I went into /etc/ssh/ssh_config to change the PermitRootLogin setting to yes, it wasn't there, so I added it, PermitRootLogin yes, then restarted ssh, tried to login, it failed.

Keeps saying Permission denied, please try again.

I'm using the right password, as I use it to log into the VM directly.

migrated from serverfault.com Jan 31 '16 at 8:08

This question came from our site for system and network administrators.

  • Oh there is a unix stackexchange, I had no idea. – Mint Feb 1 '16 at 22:46

Oooh, sorry, rookie mistake, I was actually editing ssh_config file, not sshd_config.

This is what happens when you don't use linux for ages.

It's working as expected now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.