当前位置:网站首页>SSH keyless login
SSH keyless login
2022-07-19 13:34:00 【The code family】
(1) Generate public and private keys
[[email protected] .ssh]$ pwd
/home/atguigu/.ssh
[[email protected] .ssh]$ ssh-keygen -t rsa
Then knock ( Three carriage returns ), Two files will be generated id_rsa( Private key )、id_rsa.pub( Public key )
(2) Copy the public key to the target machine for password free login
[[email protected] .ssh]$ ssh-copy-id hadoop102
[[email protected] .ssh]$ ssh-copy-id hadoop103
[[email protected] .ssh]$ ssh-copy-id hadoop104
Be careful :
Still need to be in hadoop103 On use atguigu Configure your account and log in to hadoop102、hadoop103、hadoop104 The server On .
Still need to be in hadoop104 On use atguigu Configure your account and log in to hadoop102、hadoop103、hadoop104 The server On .
Still need to be in hadoop102 On use root account number , Configure password free login to hadoop102、hadoop103、hadoop104;
边栏推荐
- ONVIF Protocol Related: 4.1.3 WS - username token Method get capture d'écran URL
- Atmospheric non isohalo effect
- The latest Jilin construction safety officer simulation question bank and answers in 2022
- How to add a thread in MFC
- Realize automatic logging
- STM32F1与STM32CubeIDE编程实例-MPU-6050 六轴(陀螺仪 + 加速度计)驱动
- 2.三数之和
- Weekly summary (*65): planned output
- 【南瓜书ML】(task2)线性模型的数学推导(最小二乘估计、广义瑞利商、极大似然估计等)
- 力扣413-等差数列划分——动态规划
猜你喜欢

Onvif protocol related: 2.1.3 get the stream address in none mode

Responsive Zhimeng template logistics and freight service website

面试官:可以接受转Go吗?

力扣64-最小路径和——动态规划入门题型

基于PMOS的过压保护(OVP)电路仿真

Security measures for tcp/ip protocol vulnerabilities

Principle of voice communication network

Attachment handling of SAP Fiori

力扣70-爬楼梯——动态规划

【码蹄集新手村 600 题】格式化的输入输出,使用 0 来代替补全的空格
随机推荐
npm err! [email protected] build: `umi build`
S32K148_CAN驱动(裸机开发)
VIM strange unknown function 0
Unveiling secrets of matrixcube 101 - functions and architecture of matrixcube
onvif协议相关:4.1.3 WS-Username token方式获取截图url
模板虚拟机环境准备
【Pygame 学习笔记】5.rect对象的碰撞检测
力扣70-爬楼梯——动态规划
Onvif protocol related: 2.1.2 get screenshot URL in none mode
ONVIF Protocol Related: 4.1.3 WS - username token Method get capture d'écran URL
力扣198-213 打家劫舍Ⅰ、Ⅱ——动态规划
Reg of sequential logic and combinatorial logic
[Yugong series] July 2022 go teaching course 012 forced type conversion
Realize automatic logging
STL string输出与修改
Three methods of realizing network request in pyodide
Onvif protocol related: 2.1.3 get the stream address in none mode
[pyGame learning notes] 7 event
npm err! ant-design- [email protected] build: `umi build`
【刷题记录】13. 罗马数字转整数