当前位置:网站首页>Batch distribution of SSH keys and batch execution of ansible
Batch distribution of SSH keys and batch execution of ansible
2022-07-04 09:58:00 【Stestack】
http://www.cnblogs.com/chensiqiqi/p/6556509.html Self recording
One Unclassified
[email protected] ~]# ssh-keygen -t dsa -f ~/.ssh/id_dsa -P " "
Command specification :
sshpass: Specially designed for ssh Free user tools for connecting services
-p : Specify the login password
ssh-copy-id: A tool for automatically distributing public keys
-i: Specify public key path
-o StrictHostKeyChecking=no : Do not write the other host information ( for the first time ssh The connection will be know_
hosts It is recorded in the document )
Two Distribute password
[[email protected] ~]# sshpass -p "ssh The login password " ssh-copy-id -i ~/.ssh/id_dsa.pub
"-o StrictHostKeyChecking=no [email protected]"
Command specification :
sshpass: Specially designed for ssh Free user tools for connecting services
-p : Specify the login password
ssh-copy-id: A tool for automatically distributing public keys
-i: Specify public key path
-o StrictHostKeyChecking=no : Do not write the other host information ( for the first time ssh The connection will be know_
hosts It is recorded in the document
3、 ... and adopt ansible Distribute tasks
边栏推荐
- xxl-job惊艳的设计,怎能叫人不爱
- H5 audio tag custom style modification and adding playback control events
- 今日睡眠质量记录78分
- `Example of mask ` tool use
- SSM online examination system source code, database using mysql, online examination system, fully functional, randomly generated question bank, supporting a variety of question types, students, teache
- MATLAB小技巧(25)竞争神经网络与SOM神经网络
- 直方图均衡化
- Ultimate bug finding method - two points
- MySQL case
- C # use gdi+ to add text with center rotation (arbitrary angle)
猜你喜欢
Hands on deep learning (44) -- seq2seq principle and Implementation
Hands on deep learning (43) -- machine translation and its data construction
用数据告诉你高考最难的省份是哪里!
5g/4g wireless networking scheme for brand chain stores
转载:等比数列的求和公式,及其推导过程
Hands on deep learning (35) -- text preprocessing (NLP)
el-table单选并隐藏全选框
C语言指针面试题——第二弹
MySQL develops small mall management system
Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
随机推荐
Laravel文档阅读笔记-How to use @auth and @guest directives in Laravel
System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
Hands on deep learning (42) -- bi-directional recurrent neural network (BI RNN)
Normal vector point cloud rotation
Golang type comparison
Mmclassification annotation file generation
Are there any principal guaranteed financial products in 2022?
转载:等比数列的求和公式,及其推导过程
Write a jison parser from scratch (5/10): a brief introduction to the working principle of jison parser syntax
MySQL case
Intelligent gateway helps improve industrial data acquisition and utilization
2. Data type
Some summaries of the third anniversary of joining Ping An in China
Exercise 7-4 find out the elements that are not common to two arrays (20 points)
Write a jison parser from scratch (4/10): detailed explanation of the syntax format of the jison parser generator
Daughter love in lunch box
Hands on deep learning (37) -- cyclic neural network
Exercise 9-4 finding books (20 points)
Kotlin 集合操作汇总
Modules golang