惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
Security Latest
Security Latest
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AI
AI
Cisco Talos Blog
Cisco Talos Blog
K
Kaspersky official blog
S
Secure Thoughts
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
D
DataBreaches.Net
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
罗磊的独立博客
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
V
V2EX
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tenable Blog
T
Threat Research - Cisco Blogs
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
Lohrmann on Cybersecurity
F
Full Disclosure
H
Help Net Security
博客园 - Franky
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
Engineering at Meta
Engineering at Meta
A
Arctic Wolf
O
OpenAI News
S
Securelist

伪斜杠青年

又是一年清明,不对,又是一年五一。 | 伪斜杠青年 Parallels Desktop 实时回收 Linux 虚拟机磁盘不生效问题 无主之地2 MacOS 1.8.5 天邈汉化补丁与一键安装脚本 | 伪斜杠青年 从张雪机车的故事聊人生,相同之处是同是湖南人。 | 伪斜杠青年 抛弃 Zeroclaw 选择 AstrBot,简单易用,不过前提是不在意内存 | 伪斜杠青年 简单部署你的 Zeroclaw with Docker 喂饭版 目前处于 BUG 天梯状态的低效率 Claw 还不值得作为 Gatway 使用,需及时止损。 过去的 2025 教会了我从流量品牌祛魅 – 关于消费的思考 从 GPT 换到 Google Gemini 的感受 – 无敌 小米 12X 刷全功能内核 原生运行 LXC/Docker 指北 Hide Portainer Business Upgrade Button (attribute based)
关于 MacOS 自带 OpenSSH 兼容性问题
2025-11-14 · via 伪斜杠青年

排查了一上午,MacOS 15 真是巨烂。

这两天折腾内核,旧 X86 的 MacBook Pro 上的 ElementaryOS 虚拟机再次派上用场,之前一直在虚拟机里操作,来回隔空接力倒是也没啥,到底是心急直接 ssh 不是更好嘛,试试才发现,各种超时。

思路:

  1. 使用 ssh -vvv 查看日志,卡在新服务器都会有个 known_hosts 指纹添加的前面,等待返回握手消息。
  2. 使用 sudo tcpdump -i en0 host x.x.x.x and port 22 跟踪消息,发现 MacOS 这边的包是一直在发,而 Linux 那边防火墙没开,sshd 日志毫无反应,明显没收到包。
  3. 再就架构和软件包版本,ElementaryOS 那边的 OpenSSH_8.9p1 OpenSSL 3.0.2,寻思这不是 Ubuntu 20.X 都一样,两台服务器也是这个版本,x86 和 ARM 设备各一。
  4. 接着现象,手机 Termux,局域网中的 Linux,其他任意设备可与这台 Mac 通信,也可与那台 ElementaryOS 通信。

从版本,到 ARM 与 x86 的兼容性配置等等一系列排查下来,最终定位:

MacOS 自带的 OpenSSH_9.9p2, LibreSSL 3.3.6 与 Linux 那边的 OpenSSH_8.9p1 , OpenSSL 3.0.2 不兼容。

解决办法(也是尝试过程):

brew install openssh

再次连接则一切正常:

$ /opt/homebrew/bin/ssh user@ip
The authenticity of host 'xxxx' can't be established.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

至此,不更新 MacOS 26, 解决办法就只有使用 Brew 的 OpenSSH 替代,版本为最新 OpenSSH_10.2p1, OpenSSL 3.6.0 。

为了使其替代默认,优先使用,在 .zshrc 环境中添加以下代码即可:

export PATH="/opt/homebrew/bin:$PATH"

以前咋用,现在就咋用,以上。