programmer group

Principle and application of SSH

This document describes the principle and application of SSH, which is a very practical enterprise level technology, I hope to help you. 1、 Introduction to SSHSSH is short for secure shell, also known as secure shell protocol. The main purpose of SSH is to achieve secure remote login. 2、 How SSH worksSSH has good security. There are two ways to encrypt data: symmetric encryption (key encryption) and asymmetric encryption (public...

programmer group

Using public key to realize password free login between Linux servers

Configuration steps Servera server: [[email protected] ~]# su - usera [[email protected] ~]$ pwd /home/usera #Generating key pairs using RSA [[email protected] ~]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/usera/.ssh/id_rsa): Created directory '/home/usera/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has...

programmer group

Analysis of HTTPS

HTTPS related brief introduction HTTP is encrypted by SSL to generate HTTPS, which makes the network communication more secure Three encryption methods are used in HTTPS, namely symmetric encryption AES, asymmetric encryption RSA and hash algorithm (irreversible), AES transmission (efficiency consideration), RSA communication AES and HTTP (efficiency verification) There are three main problems solved by HTTPS Confidentiality of...

programmer group

Hadoop cluster construction

Hadoop is an open source distributed computing platform of Apache Software Foundation. Hadoop, which is based on Hadoop distributed file system (HDFS) and MapReduce (the open source implementation of Google MapReduce), provides users with a distributed infrastructure with transparent underlying details. For Hadoop cluster, it can be divided into two categories: master and sale. An HDFS cluster is composed of a namenode and several...

programmer group

Automatic project deployment with githooks

Use express to build a small program background. If you want to deploy it to the server, you need to deploy it manually every time. It takes time to click and click, and you want to save these repetitive operations Before building hexo blog, githooks was used to realize automatic deployment. I think background deployment can also be realized in this way Background ExpressTool git PM2Server Ubuntu 18.04.1 LTS Build express and git...