2 Mar
2021
2 Mar
'21
20:10
On 2021-03-02 2:57 p.m., Bengt Gördén wrote:
I just realized I had ssh opened in my firewall for testing recently and forgot to close it. I have changed the password and disabled login for that account. I will be removing the account entirely.
in /etc/ssh/sshd_config PasswordAuthentication no But first put an authorized_keys in your ~/.ssh/
Works like a charm. No scumbags for over a decade on our servers. All our servers have sshd port (on a different port than 22) open on public internet.
I used to do that, but got out of the habit.