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
An event is an action performed by the user or th...
Table of contents What is a Promise? Usage of rej...
There are some issues that are not limited to Vue...
0x00 Introduction A few months ago, I found a vul...
Preface When the code runs and an error occurs, w...
Events can specify the execution of SQL code once...
Transition document address defines a background ...
1. Introduction Why do we need indexes? In genera...
ssh is one of the two command line tools I use mo...
Preface: Timestamp fields are often used in MySQL...
MySQL startup error Before installing MySQL on Wi...
Understanding of diff algorithm in React diff alg...
Installation path: /application/mysql-5.5.56 1. P...
1. Natural layout <br />The layout without a...
Preface This article introduces a simple BAT scri...