Ubuntu: Allow SSH access for ‘root’ user
Jun02

Ubuntu: Allow SSH access for ‘root’ user

KB ID 0001317  Problem First of all not being able to connect to your Ubuntu server via SSH as root is ‘by design’, and it’s a perfectly good security measure. I do find it interesting that every hosting company I ever used, spin up a new machine and then email me the root password and they’ve enabled it anyway? I needed to enable this recently and the internet is full of posts saying ‘just edit the...

Read More
Linux (CentOS) Securing and Hardening SSH / Shell Access
Nov17

Linux (CentOS) Securing and Hardening SSH / Shell Access

KB ID 0000881  Problem The following is by no means an extensive list of everything that can be done. It’s just a run though of what I would consider ‘good practice’. Solution Create a user for SSH and Remove Shell access for the ‘root’ user. 1. Connect to the server via SSH or open a terminal session and su to root. Create a new user then set and confirm the new users password. useradd {username} passwd...

Read More