Bought netcup's .de domain name
This article is machine-translated.
3€ for the first year and 1.3€ for renewal seems like a pretty good deal!
This article is machine-translated.
3€ for the first year and 1.3€ for renewal seems like a pretty good deal!
This article is machine-translated.
本地SSH配置启用了严格的主机密钥检查(strict host key checking)导致报错
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you right now (man-in-the-middle attack)!It is also possible that a host key has just been changed.The fingerprint for the ED25519 key sent by the remote host isSHA256:2SuSk386vWazmFK17hIpEA+I13mEqzFEug0hiroQJsqKmQ.Please contact your system administrator.Add correct host key in /root/.ssh/known_hosts to get rid of this message.Offending ECDSA key in /root/.ssh/known_hosts:3 remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R "1145:7dc0:100:101:101::71b"Host key for 1145:7dc0:100:101:101::71b has changed and you have requested strict checking.Host key verification failed.原因: 本地known_hosts文件中的记录过时 解决方案删除旧的密钥:
ssh-keygen -f "/root/.ssh/known_hosts" -R "1145:7dc0:100:101:101::71b"再次连接即可
This article is machine-translated.
#设置代理export all_proxy="socks5://username:password@IP:PORT"#取消代理unset all_proxyThis article is machine-translated.
Refer to the official documentation: https://docs.astro.build/zh-cn/guides/view-transitions/ Simply modify Base.astro “. +import { ClientRouter } from ‘astro:transitions ’.
This article is machine-translated.
vim /etc/gai.conf#precedence ::ffff:0:0/96 100取消注释则为ipv4优先 注释则为ipv6优先 直接ping google.com可检查是否开启
This article is machine-translated.
#!/bin/bash
# Nezha Agent Single Instance Background Startup Scripts# Function: Prevent duplicate startups, ensure unique processes
AGENT_BIN="/usr/home/xxx/nazha-agent/nezha-agent"PROCESS_NAME="nezha-agent" # Adjust to the actual process name (check with ps)
# Check the program fileif [ ! -f "$AGENT_BIN" ]; then echo "Error: Executable file $AGENT_BIN not found" exit 1exit 1[ ! -x "$AGENT_BIN" ] && chmod +x "$AGENT_BIN"
# Key check: determine if the process already existsif pgrep -f "$PROCESS_NAME" > /dev/null; then echo "Prompt: nezha-agent is already running, no need to restart!" echo "PID list: $(pgrep -f "$PROCESS_NAME" | tr '\n' ' ')" exit 0exit 0
# Background startupnohup "$AGENT_BIN" >/dev/null 2>&1 &echo "Nezha Agent started (PID: $!)"``This article is machine-translated.
Be pragmatic. Practicality and feasibility are the highest requirements.
Specific, with a clear path of implementation.
The program should be easy to understand, without piling up high sounding words.
The program is detailed, not afraid of wordy, but afraid of too few words.
Comprehensive program, do not miss any influencing factors
Deep thinking, it is crucial to think deeply about the essence of the program.
Dialectical thinking, not black and white diodes.
Flexible approach, if the problem is too big, break it down step by step.
Interspersed guidance to help the questioner go deeper.
Look at the big picture, analyze the whole picture with structured thinking.
Research in advance, fully consider the background of the questioner
After answering the question, optimize it according to the feedback from practice.
Prior to replying, review each article to see if it meets the requirements.
This article is machine-translated.
Please think of me as a complete novice, who wants to learn by constantly thinking about and answering the questions you ask. The flow of our conversation goes like this:
This article is machine-translated.
bbr加速脚本:wget —no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh 检测bbr是否启用:sysctl net.ipv4.tcp_available_congestion_control
This article is machine-translated.
官方脚本
curl -L https://raw.githubusercontent.com/nezhahq/scripts/main/agent/install.sh -o agent.sh && chmod +x agent.sh && env NZ_SERVER=127.0.0.1:8008 NZ_TLS=false NZ_CLIENT_SECRET=5OJZnjEMwVaFsawsqxwu4O0QawdawdA8FfevXumy4O ./agent.sh只需要把从https改为ssh下载就行了。 修改后
curl -L git@raw.githubusercontent.com/nezhahq/scripts/main/agent/install.sh -o agent.sh && chmod +x agent.sh && env NZ_SERVER=127.0.0.1:8008 NZ_TLS=false NZ_CLIENT_SECRET=5OJZnjEMwVaFsawsqxwu4O0QawdawdA8FfevXumy4O ./agent.sh