Show Real Client IPs when use LiteSpeed + Cloudflare

To get real visitors IPs for access control and traffic analysis while using proxy servers, e.g. Cloudflare. Since OpenLiteSpeed admin panel is not available along with ispmanager 6 installed on the same server, you need to set up directive for option “Use Client IP in Header” manually in the web server’s configuration file “/usr/local/lsws/conf/httpd-config.conf”. The …

Read more

SSH passwordless ubuntu

Generate key on xshell or putty and put it into authorized_keys: nano .ssh/authorized_keys nano /etc/ssh/sshd_config.d/50-cloud-init.conf Change PasswordAuthentication to no Reload sshd config: systemctl reload sshd