MoonLab - TIL

This is where i store my today-i-learned

You may also wannna visit my blog

Browse by tags

#linux

#linux Pacman Mirrorlist更新 - Aug 13, 2024

$ sudo pacman -Sy 出现了: error: failed retrieving file 'core.db' from mirror.f4st.host : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds error: failed retrieving file 'extra.db' from mirror.f4st.host : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds error: failed

#linux ssh-keygen - Aug 11, 2024

When i used systemctl status sshd, i saw: Aug 11 03:41:35 NekoPara01 sshd[1045]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key Aug 11 03:41:35 NekoPara01 sshd[1045]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key Use sudo ssh-keygen -A to generate all missing host keys.

#linux 服务器配置ssh仅允许使用pubkey验证 - Aug 11, 2024

本地要有keypair,可以是rsa也可以是ed25519。 $ ssh-keygen 将本地的pubkey复制到服务器的~

#linux SSH 客户端配置代理 - Aug 11, 2024

其实是机场屏蔽了22端口,才导致我用不了ssh。但既然查都查了,还是把ssh客户端单独配置代理方法记

#linux ArchLinux Magnifier Shortcut - Aug 11, 2024

在缩放浏览器时,不小心使用了放大镜 CTRL + Super + 鼠标滚轮即可使用放大镜 我还另外发现了,使用 Super + L 即可重新锁

#linux ArchLinux 打开终端快捷键 - Aug 10, 2024

CTRL + ALT + T Open terminal ALT + SHIFT + F4 Open terminal here in file explorer 然而在我输入第二个快捷键时,不小心按成了 CTRL + ALT + F4 整个世界清净了

#linux Today I Learned - Aug 10, 2024

今天我发现了一种很有意思的记录方法:https://simonwillison.net/2022/N