当前位置:网站首页>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
边栏推荐
- 转载:等比数列的求和公式,及其推导过程
- Hands on deep learning (40) -- short and long term memory network (LSTM)
- C语言指针经典面试题——第一弹
- 有老师知道 继承RichSourceFunction自定义读mysql怎么做增量吗?
- PHP book borrowing management system, with complete functions, supports user foreground management and background management, and supports the latest version of PHP 7 x. Database mysql
- Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)
- Lauchpad X | 模式
- View CSDN personal resource download details
- Exercise 9-5 address book sorting (20 points)
- Hands on deep learning (33) -- style transfer
猜你喜欢

智能网关助力提高工业数据采集和利用

C # use ffmpeg for audio transcoding

百度研发三面惨遭滑铁卢:面试官一套组合拳让我当场懵逼

Hands on deep learning (39) -- gating cycle unit Gru

Daughter love: frequency spectrum analysis of a piece of music

用数据告诉你高考最难的省份是哪里!

【OpenCV 例程200篇】218. 多行倾斜文字水印

El Table Radio select and hide the select all box

xxl-job惊艳的设计,怎能叫人不爱

对于程序员来说,伤害力度最大的话。。。
随机推荐
Write a jison parser (7/10) from scratch: the iterative development process of the parser generator 'parser generator'
Write a jison parser from scratch (6/10): parse, not define syntax
C # use ffmpeg for audio transcoding
View CSDN personal resource download details
Write a jison parser from scratch (1/10):jison, not JSON
libmysqlclient. so. 20: cannot open shared object file: No such file or directory
Log cannot be recorded after log4net is deployed to the server
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
Mmclassification annotation file generation
Hands on deep learning (45) -- bundle search
Golang Modules
Hands on deep learning (43) -- machine translation and its data construction
Hands on deep learning (39) -- gating cycle unit Gru
Go context basic introduction
Exercise 7-4 find out the elements that are not common to two arrays (20 points)
Hands on deep learning (36) -- language model and data set
转载:等比数列的求和公式,及其推导过程
Explanation of for loop in golang
C language pointer classic interview question - the first bullet
Exercise 8-10 output student grades (20 points)