当前位置:网站首页>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
边栏推荐
- lolcat
- 转载:等比数列的求和公式,及其推导过程
- Exercise 9-1 time conversion (15 points)
- Check 15 developer tools of Alibaba
- libmysqlclient. so. 20: cannot open shared object file: No such file or directory
- How can Huawei online match improve the success rate of player matching
- A little feeling
- How to display √ 2 on the command line terminal ̅? This is actually a blog's Unicode test article
- MongoDB数据日期显示相差8小时 原因和解决方案
- mmclassification 标注文件生成
猜你喜欢
JDBC and MySQL database
How web pages interact with applets
Hands on deep learning (36) -- language model and data set
Machine learning -- neural network (IV): BP neural network
Application of safety monitoring in zhizhilu Denggan reservoir area
PHP is used to add, modify and delete movie information, which is divided into foreground management and background management. Foreground users can browse information and post messages, and backgroun
Hands on deep learning (45) -- bundle search
Summary of reasons for web side automation test failure
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
IIS configure FTP website
随机推荐
Upgrading Xcode 12 caused Carthage to build cartfile containing only rxswift to fail
libmysqlclient. so. 20: cannot open shared object file: No such file or directory
5g/4g wireless networking scheme for brand chain stores
Modules golang
Devop basic command
Matlab tips (25) competitive neural network and SOM neural network
Exercise 7-3 store the numbers in the array in reverse order (20 points)
How can Huawei online match improve the success rate of player matching
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
Exercise 8-10 output student grades (20 points)
Write a jison parser (7/10) from scratch: the iterative development process of the parser generator 'parser generator'
uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示
Kotlin 集合操作汇总
六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽
MySQL develops small mall management system
Write a jison parser from scratch (5/10): a brief introduction to the working principle of jison parser syntax
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1
Problems encountered by scan, scanf and scanln in golang
Histogram equalization
Advanced technology management - how to design and follow up the performance of students at different levels