把Mac升级到10.15.4后,命令行下ssh连接服务器一直Connecting。查了半天防火墙,一点问题都没有。用IP连接没有问题。
1 | kcn@zhoulindeiMac $ ssh -v linode.kcn.cn -p24 |
最后找到了一个奇怪的解决办法。在~/.ssh/config里面加入
1 | Host * |
一切都正常了。奇怪的解决方案
- 本文作者: KCN
- 本文链接: https://www.kcn.me/2020/05/30/catalina-ssh/
- 版权声明: 未经允许,请勿转载
用来放零碎东西的
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia-plus根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true