Basic server setup on Ubuntu

[this section will be properly edited]


ssh root@ip_address
passwd # changing initial password
adduser demo # adding 'demo' user
visudo
demo ALL=(ALL:ALL) ALL # find section called user privilege specification and add this

Optional (changing ssh port for more security)


nano /etc/ssh/sshd_config

Port 25000
Protocol 2
PermitRootLogin no

UseDNS no
AllowUsers demo

reload ssh

One thought on “Basic server setup on Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

*