Notice: 函数 WP_Scripts::localize 的调用方法不正确$l10n 参数必须是一个数组。若要将任意数据传递给脚本,请改用 wp_add_inline_script() 函数。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 5.7.0 版本添加的。) in /data/www/appblog/wp-includes/functions.php on line 6131

Linux的生成.ssh公私钥

ssh-keygen -t rsa
ssh-keygen -t rsa -C yezhou@appblog.cn

经过三次回车,生成.ssh文件夹,可以看到两个文件(id_rsaid_rsa.pub

# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): 
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase): Jenkins
Enter same passphrase again: Jenkins
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:65FmI4U3LkNfhXfchHz7p+v7Er9qZGe3tUTm50Mpnn8 root@appblog-cn
The key's randomart image is:
+---[RSA 2048]----+
|             . ..|
|           . .oo.|
|          . o o.o|
|       .   o . + |
|      o S .   + o|
|     . = =   +.B*|
|      + X   + B=B|
|       B o   +o+E|
|        .   .o*B=|
+----[SHA256]-----+

id_rsa是私钥
id_rsa.pub是公钥

上一篇 Nginx location 配置后路径映射问题(路径替换)
下一篇 Linux配置swap交换分区