How to connect to ssh server with plink and cmd and public key

Views: 753 If you need a way to connect to remote ssh host and you don’t have putty installed you can use plink.Just open cmd and type:

Where is the cron / crontab log? / How to enable the Cron Log?

The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Users that set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its general-purpose nature makes it useful for things like downloading files from the Internet and downloading email at regular intervals.

How to configure remote log servers with rsyslog?

Rsyslog is an open-source software utility used on UNIX and Unix-like computer systems for forwarding log messages in an IPnetwork. It implements the basic syslog protocol, extends it with content-based filtering, rich filtering capabilities, queued operations to handle offline outputs,[2] support for different module outputs,[3] flexible configuration options and adds features such as using TCP for transport.

How to Install the PHP GeoIP Extension

The GeoIP extension allows you to find the location of an IP address, including the city, state, country, latitude, and longitude.
If you'd like to use the new GeoIP2, MaxMind now offers a pure PHP implementation that doesn't require a C extension: https://github.com/maxmind/GeoIP2-php.

.tar.gz /var/www and vardump mysql database and scp ssh to another server – simple backup solution

This is a simple tutorial on how to back up your www directory a.k your website and the database. For the file backup we are going to use the tar command which will archive the files and folders. Mysqldump is going to be our database export tool and scp and ssh the tools for remote transfer the archive.

A simple iptables firewall script to block all ports except port 80 and give port 22 to certain ip’s

Views: 806 This simple script is very useful and very simple and will give you the basics of what you can do with linux iptables firewall. Make a file: Paste all the info and correct the ip addresses with you owns. Give it some permissions And run the script. Now this was tested in ubuntu […]

How to install denyhosts on Ubuntu Linux 17.04 ( intrusion prevention security tool for SSH and more)

Views: 456 DenyHosts is a log-based intrusion prevention security tool for SSH servers written in Python. It is designed to prevent brute-force attacks on SSH servers by monitoring invalid login attempts in the authentication log and blocking the originating IP addresses using /etc/hosts.deny and sbin/iptables on Linux server. In this tutorial, you will learn how […]

Ubuntu mycli install (mysql terminal – modern alternative to the default MySQL client)

Views: 546 Mycli is a modern alternative to the default MySQL client. This tool does to MySQL what bpython does to the standard Python REPL. Mycli will auto-complete keywords, table names, columns, and functions as you type them. The completion suggestions are context-sensitive. For example, after the SELECT * FROM, only tables from the current […]

Install and configure fail2ban on ubuntu 17.04 and block on all ports

Fail2ban scans log files and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary other action (e.g. sending an email) could also be configured. Out of the box Fail2Ban comes with filters for various services (apache, courier, ssh, etc).

How to enable apache2 cache to speed up your website on ubuntu

Views: 487 First enable the mods: Then edit the virtual host: And add ifmodule between virtual host: Then restart the apache service:

Linux: How to get remote page load time with a command from the terminal?

Linux: How to get remote page load time with a command from the terminal?
This will give you the remote page load time in miliseconds.

How to install google’s mod pagespeed in ubuntu server and how to disable it

Views: 618 About this articleIntroduction One of the more recently popular modules for Apache is mod_pagespeed. It is an output filter for Apache 2.2+ that can be configured through a variety of options through configuration files or a .htaccess file. An “output filter” is a something that transforms the data before it’s sent to the […]