出现原因 finalshell意外终止,导致ssh连接意外终止 之后怎么都连不上虚拟机的ssh,一看是虚拟机的ssh已经被意外暂停,可能是跟finalshell的意外终止有关 解决 chmod 600 /etc/ssh/ssh_host_rsa_key chmod 600 /etc/ssh/ssh_ ...
分类:
其他好文 时间:
2021-02-15 12:17:03
阅读次数:
0
假设A服务器要把文件复制到B服务器上 首先我们要在B服务器上生成密钥对 参考:https://www.cnblogs.com/pxblog/p/14396409.html 然后在把生成的密钥公钥id_rsa.pub 复制到A服务器上的 /root/.ssh文件夹下,名称改为 authorized_k ...
分类:
系统相关 时间:
2021-02-15 11:59:11
阅读次数:
0
执行 ssh-keygen -t rsa -C "你的邮箱地址" 然后在 cd /root/.ssh/ 目录下会生成三个文件 id_rsa 这是私钥id_rsa.pub 这是公钥known_hosts ...
分类:
系统相关 时间:
2021-02-15 11:58:09
阅读次数:
0
https://www.acwing.com/problem/content/1139/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:
其他好文 时间:
2021-02-15 11:53:52
阅读次数:
0
https://www.acwing.com/problem/content/1133/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:
其他好文 时间:
2021-02-15 11:53:38
阅读次数:
0
https://www.acwing.com/problem/content/1136/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:
其他好文 时间:
2021-02-15 11:53:26
阅读次数:
0
CentOS 7 引导顺序: UEFi或BIOS初始化,运行POST开机自检(可扩展固件接口负责加电自检(POST)、联系操作系统以及提供连接操作系统与硬件的接口。) 选择启动设备 引导装载程序, centos7是grub2 加载装载程序的配置文件:/etc/grub.d/、/etc/default ...
分类:
其他好文 时间:
2021-02-10 13:31:21
阅读次数:
0
一、去下方路径: 二、搜索以下信息: - (void)displayLayer:(CALayer *)layer 三、并替换或者更改为以下信息: - (void)displayLayer:(CALayer *)layer{ if (_currentFrame) { layer.contentsSca ...
分类:
移动开发 时间:
2021-02-09 11:56:44
阅读次数:
0
在config.xml下添加: <platform name="ios"> <config-file parent="NSCameraUsageDescription" target="*-Info.plist"> <string>需要访问您的相机</string> </config-file> < ...
分类:
移动开发 时间:
2021-02-09 11:54:35
阅读次数:
0
https://www.cyberciti.biz/faq/update-lenovo-bios-from-linux-usb-stick-pen/ 关键步骤在于 用 geteltorito 解出 可烧制到 usb chip/pen 的 image 之后,光盘启动就可以了。 本来准备把getelto ...
分类:
移动开发 时间:
2021-02-08 12:25:07
阅读次数:
0