SSH工作原理: 共同建立加密通道 客户端首次发起SSH请求,客户端需要交互式输入yes/no确认是否信任主机,信任主机后服务端将本端的主机密钥(host key)传给客户端存放于known_hosts文件中。以后客户端请求相同的IP的主机会将服务端的主机密钥和自己本身的known_hosts的ho... ...
分类:
其他好文 时间:
2019-04-07 21:54:48
阅读次数:
176
首先执行产生密钥操作 #################批量推公钥###################!/bin/bash#abel>ip.txt>/root/.ssh/known_hosts if [ ! -f ~/.ssh/id_rsa.pub ];then ssh-keygen -P "" ...
分类:
其他好文 时间:
2019-04-03 17:52:08
阅读次数:
172
Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though it o ...
分类:
其他好文 时间:
2019-03-31 19:22:08
阅读次数:
134
Write a function that takes an unsigned integer and return the number of '1' bits it has (also known as the Hamming weight). Example 1: Example 2: Exa ...
分类:
其他好文 时间:
2019-03-31 16:57:57
阅读次数:
153
POJ1012 - Joseph Joseph Description The Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n ...
分类:
其他好文 时间:
2019-03-30 01:13:39
阅读次数:
171
找了半天发现原来配置文件中多了一个空格; idea中properties文件的127.0.0.1后面出现了一个空格,编辑器将其变深黄色了 ...
分类:
编程语言 时间:
2019-03-23 22:36:42
阅读次数:
416
angular2在双向数据绑定时[(ngModel)]无法使用,出现的错误是: Can't bind to 'ngModel' since it isn't a known property of 'input'. 解决办法: 在文件 app.module.ts 中引入ngModel 具体为: 添加 ...
分类:
其他好文 时间:
2019-03-13 10:51:58
阅读次数:
278
# cat /proc/cpuinfo | grep physical | sort -n | uniq | wc -l 3 代表3个cpu的个数 查看服务器型号 # dmidecode|grep "System Information" -A9|egrep "Manufacturer|Produc ...
分类:
其他好文 时间:
2019-03-12 21:17:15
阅读次数:
283
java.net.InetAddress类是java对Ip地址(包括ipv4和ipv6)的高层表示,大多数其他网络类都要用到这个类,包括Socket, ServerSocket, URL, DatagramSocket, DatagramPacket等 InetAddress address = I ...
分类:
Web程序 时间:
2019-03-11 01:11:46
阅读次数:
160
Azkaban安装部署 https://azkaban.github.io/azkaban/docs/2.5/ 生成密钥对和证书Keytool是java数据证书的管理工具,使用户能够管理自己的公/私钥对及相关证书。-keystore 指定密钥库的名称及位置(产生的各类信息将存在.keystore文件 ...
分类:
其他好文 时间:
2019-03-05 09:44:09
阅读次数:
434