Initially, I had set my SSH server to bind to a different port other than port 22. And subsequently configured the firewall, restarted CSF, etc etc. But, anytime I would try to connect using a PKA, boom, wouldn't work. But, when i ran the link above to reset SSH back to WHM defaults, boom works fine.
Nothing has changed w/ the keys, or the key pass phrases.
It's just the port.
Are we not able to choose a different port for SSH for security purposes, so that we do not leave it open for attack?
What I want to do:
* Change SSH port to a port of my choosing.
* Login using a Key, not the actual password.
But, unless i leave it on port 22, i can't do that. For, when i change it to something else, i can't login w/ the key.