当前位置:网站首页>RHCSA8
RHCSA8
2022-07-05 13:02:00 【Grey rain】
To configure SSH Realize remote access Linux
ssh [email protected] command
Commands can be used remotely through configuration , Save in ~/.ssh/known_host
ssh Password free login
1、 Creating public and private keys
ssh-keygen
2、 Copied to the server
ssh-copy id [email protected]
3、 test
ssh [email protected]
prohibit root Remote login
vim /etc/ssh/sshd_config
take root The remote login is changed to no(46 Row or so )
systemctl restart sshd
It is forbidden to be serious through password , Through public-private key
vim /etc/ssh/sshd_config
Change passwordAuthentication no
systemctl restart sshd
rsyslog Log management
Journal Log management and time synchronization
journalctl Show logs from beginning to end
-n x Look at the tail x That's ok
-f Dynamic display
–since “2021-01-01” Start checking at a specified time 8e
Set the time
timedatectl Check the information in the time zone
timedatectl set-timezone Area ( Set time zone )
边栏推荐
- Vonedao solves the problem of organizational development effectiveness
- 【Nacos云原生】阅读源码第一步,本地启动Nacos
- 10 minute fitness method reading notes (5/5)
- #yyds干货盘点#js截取文件后缀名
- 关于 SAP UI5 getSAPLogonLanguage is not a function 的错误消息以及 API 版本的讨论
- stirring! 2022 open atom global open source summit registration is hot!
- SAP UI5 ObjectPageLayout 控件使用方法分享
- Lepton 无损压缩原理及性能分析
- Transactions from January 14 to 19, 2022
- Taobao order amount check error, avoid capital loss API
猜你喜欢
SAP SEGW 事物码里的 ABAP Editor
深度长文探讨Join运算的简化和提速
Why is your next computer a computer? Explore different remote operations
Taobao short videos are automatically released in batches without manual RPA open source
研究:数据安全工具在 60% 的情况下无法抵御勒索软件
解决 UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa2 in position 107
PyCharm安装第三方库图解
Pycharm installation third party library diagram
From the perspective of technology and risk control, it is analyzed that wechat Alipay restricts the remote collection of personal collection code
HiEngine:可媲美本地的云原生内存数据库引擎
随机推荐
RHCSA5
Research: data security tools cannot resist blackmail software in 60% of cases
将函数放在模块中
逆波兰表达式
Notes for preparation of information system project manager --- information knowledge
Detailed explanation of navigation component of openharmony application development
leetcode:221. 最大正方形【dp状态转移的精髓】
Transactions from December 29, 2021 to January 4, 2022
研究:数据安全工具在 60% 的情况下无法抵御勒索软件
Halcon 模板匹配实战代码(一)
HiEngine:可媲美本地的云原生内存数据库引擎
Vonedao solves the problem of organizational development effectiveness
Simply take stock reading notes (4/8)
RHCSA1
自然语言处理系列(一)入门概述
Simply take stock reading notes (3/8)
Shi Zhenzhen's 2021 summary and 2022 outlook | colorful eggs at the end of the article
Overflow toolbar control in SAP ui5 view
Rocky基础知识1
Yyds dry inventory JS intercept file suffix