Can't run sshd in debug mode
I have a CentOS 7 droplet. I want to debug sshd. I stop the sshd service. And then do /usr/sbin/sshd -d. I get an error that connection is refused by the tcp wrapper.
Screenshot of sshd console output is here: https://snag.gy/l0HKiL.jpg
I’ve looked at these two articles and googled a bunch but no luck.
I imagine that the problem has something to do with what’s in my /etc/hosts.allow or /etc/hosts.deny. I tried adding an entry into the empty hosts.allow:
/etc/hosts.deny just has a pile of entries for IPs that have been denied.
I am able to ssh to localhost from the droplet so the problem is more subtle than the machine being blocked from ssh'ing to itself.