生成证书:
ssh-keygen -t dsa
一直回车,然后:
cd ~/.ssh
cat id_dsa.pub >> authorized_keys
2019年5月20日 修改更新:
chmod 644 authorized_keys
cd ..
chmod 700 .ssh
cd ..
chown root:root root
测试:
ssh localhost
可发送authorized_keys到要登陆的机器.
生成证书:
ssh-keygen -t dsa
一直回车,然后:
cd ~/.ssh
cat id_dsa.pub >> authorized_keys
chmod 644 authorized_keys
cd ..
chmod 700 .ssh
cd ..
chown root:root root
测试:
ssh localhost
可发送authorized_keys到要登陆的机器.
报错: ``` nginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_brotli_filter_module.so" failed (libbrotlienc.so.1: cannot open shared object file: No su...
报错如下: ``` nginx: [emerg] module "/opt/nginx/modules/ngx_http_brotli_filter_module.so" version 1028001 instead of 1026002 in /opt/nginx/conf/nginx.conf...
成为第一个评论的人吧!