- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Press Enter to Continue Waiting for verification... Resetting dropped connection: acme-v02.api.letsencrypt.org Cleaning up challenges Subscribe to the EFF mailing list (email: wangwen135@gmail.com). Starting new HTTPS connection (1): supporters.eff.org
IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/wangwen135.top/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/wangwen135.top/privkey.pem Your certificate will expire on 2024-08-13. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
生成的证书文件在:/etc/letsencrypt/live/wangwen135.top 目录中
不要移动或者重命名生成的文件
使用证书
直接在nginx中配置,如:
1 2 3 4 5 6 7 8 9 10 11 12 13
server { listen 8443 ssl http2; server_name wangwen135.top home.wangwen135.top;
00000000 : FF FF FF FF FF FF 6C BC 4A B3 F4 BC 6C BC 4A B3 00000010 : F4 BC 6C BC 4A B3 F4 BC 6C BC 4A B3 F4 BC 6C BC 00000020 : 4A B3 F4 BC 6C BC 4A B3 F4 BC 6C BC 4A B3 F4 BC 00000030 : 6C BC 4A B3 F4 BC 6C BC 4A B3 F4 BC 6C BC 4A B3 00000040 : F4 BC 6C BC 4A B3 F4 BC 6C BC 4A B3 F4 BC 6C BC 00000050 : 4A B3 F4 BC 6C BC 4A B3 F4 BC 6C BC 4A B3 F4 BC 00000060 : 6C BC 4A B3 F4 BC
设置
BIOS设置
BIOS设置各不相同,如:
高级 -> 唤醒事件设置 -> 将 PCIE设备唤醒 和 网络唤醒 设置为 允许 (Enable)
BIOS选单,选择Power Management Setup 把PME Event Wake Up 改成 Enabled即可设置成功
进入BIOS设置,Power->Automatic Power On里面,设置Wake on LAN = Enable/Automatic
不同机器的BIOS设置位置不同,找到对应的Wake on LAN选项设置就OK。一般2010年后的网卡都支持网卡唤醒功能,如果在BIOS设置里面找不到相应的设置项,很可能默认就是开启的。
>git pull ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
但是443端口可以
1 2 3 4 5 6 7
>ssh -T -p 443 git@ssh.github.com The authenticity of host '[ssh.github.com]:443 ([20.205.243.160]:443)' can't be established. ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '[ssh.github.com]:443' (ED25519) to the list of known hosts. Hi wangwen135! You've successfully authenticated, but GitHub does not provide shell access.
在用户目录新增config文件
1
$ vim ~/.ssh/config
内容如下:
1 2 3 4
# Add section below to it Host github.com Hostname ssh.github.com Port 443
再测试一下:
1 2 3 4
$ ssh -T git@github.com Hi xxxxx! You've successfully authenticated, but GitHub does not provide shell access.