1. Install openssh-serveryum install -y openssl openssh-server 2. Modify the configuration file Open the configuration file Turn on the settings of Start the ssh service: systemctl start sshd.service Set the ssh service to start automatically at boot systemctl enable sshd.service Set the access permissions for the folder ~/.ssh: $ cd ~ $ chmod 700 .ssh $ chmod 600 .ssh/* $ ls -la .ssh total 16 drwx------. 2 root root 58 May 15 00:23 . dr-xr-x---. 8 root root 4096 May 15 00:26 .. -rw------. 1 root root 403 May 15 00:22 authorized_keys -rw------. 1 root root 1766 May 15 00:21 id_rsa -rw------. 1 root root 403 May 15 00:21 id_rsa.pub The The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Summarize the commonly used nth-child selectors
>>: The pitfall record of case when judging NULL value in MySQL
Table of contents Preface Basic Introduction Code...
Code first, then text Copy code The code is as fol...
Using Technology itext.jar: Convert byte file inp...
Table of contents Install jupyter Docker port map...
Before talking about data responsiveness, we need...
Table of contents 1. Installation preparation 1. ...
Download Tomcat8 image [root@localhost ~]# docker...
Preface We all know that in Linux, "everythi...
The road ahead is always so difficult and full of...
This article example shares the specific code of ...
Optimize the fastcgi configuration file fcgiext.i...
Recently, due to business reasons, I need to acce...
If we want to make a carousel, we must first unde...
1. Download MySQL Community Server 5.7.16 and ins...
Recently, our small team needs to share a shared ...