CentOS x64 6.5: if I connect as
root to my server and do the following:
service sshd stop /usr/sbin/ssh -d
I'll able to connect as user using public key authentication from my development machine:
ssh -v email@example.com
When however I use the daemon:
service sshd start
I'm not able to connect anymore, and ssh asks for a password.
tail -f /var/log/secure shows nothing.
Have you any idea why this is happening?