This repository was archived by the owner on Aug 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
3. QA
Jeffrey edited this page Feb 18, 2023
·
9 revisions
# ssh version
[23:30:46] ❯ ssh -V
OpenSSH_8.9p1 Ubuntu-3ubuntu0.1, OpenSSL 3.0.2 15 Mar 2022
# Solution
## add the follwoing to /etc/ssh/sshd_config
Include /etc/ssh/sshd_config.d/*.conf
PubkeyAcceptedKeyTypes +ssh-rsa
HostKeyAlgorithms +ssh-rsa
## update ~/.ssh/config
Host xxxx
User guanzenghui
PubkeyAcceptedKeyTypes +ssh-rsa
HostKeyAlgorithms +ssh-rsa
## gen pub key
ssh-keygen -t rsasearch keyword speed in repo
-- lua/modules/editor/treesitter.lua
require("nvim-treesitter.install").command_extra_args = {
curl = { "--proxy", "http://127.0.0.1:7890" },
}
....
-- lua/modules/completion/lsp.lua
mason.setup({
max_concurrent_installers = 30,
-- speed
github = {
download_url_template = "https://ghproxy.com/https://github.com/%s/releases/download/%s/%s",
},
})
....
-- lua/modules/completion/lsp.lua
mason_lspconfig.setup({
-- speed
github = {
download_url_template = "https://ghproxy.com/https://github.com/%s/releases/download/%s/%s",
},
automatic_installation = true,
})
...