Enable root logins using ssh in Debian 8.0 Rumi, October 28, 2017 By default you can no longer login using ssh as root with just a password since it is more secure to use a pre-shared key. However, you can you can still enable root logins using password authentication. To do this you need to edit the ssh config file ‘/etc/ssh/sshd_config/sshd_config’ as root. # vi /etc/ssh/sshd_config Then find the entry in the Authentication section of the file that says ‘PermitRootLogin’ and change ‘without-password’ to ‘yes’. # Authentication: LoginGraceTime 120 #PermitRootLogin without-password PermitRootLogin yes StrictModes yes Note – It is just a personal preference but when making this sort of change I prefer to comment out the original entry and create a new one. You will need to restart the SSH server (or reboot) for this change to take effect. # service sshd restart Related Administrations Configurations (Linux) DebianOpensshSSHD
Linux Router- No NAT May 7, 2018 I assume you have one public IP address for your WAN side, and a block for the LAN side, something like this: ISP—–ROUTER ETH0/ROUTER ETH1——SWITCH——PCs You NEED to have a public IP address for the WAN interface, ISP will route the subnet they have given you through this IP address…. Read More
Reinstall Apache 2.X in CENT OS 5 August 28, 2008 Download the rpm and reinstall like so: rpm -ivh –replacepkgs httpd-2.2.3-11.el5_1.centos.3.i386.rpm For i386, you can grab the latest version here: http://mirror.centos.org/centos-5/5/os/i386/CentOS/ Backup your httpd.conf file first. User created files shouldn’t be affected, but it’s always wise to have a backup of those too. Related Read More
Nginx- Allow Directory browsing March 20, 2016 Enabling directory listing in a folder in nginx is simple enough with just an autoindex on;directive inside the location directive. You can also enable sitewide directory listing by putting it in the server block or even enable directory access for all sites by putting it in the http block. An… Read More