- 主题:记录welly登录的问题
每次重启系统后,welly自动登录水木时,就会跳出这个信息。
有点烦人,不知道有人解决过没?
The host key is not cached for this server:
bbs.newsmth.net (port 22)
You have no guarantee that the server is the computer you
think it is.
The server's ecdsa-sha2-nistp256 key fingerprint is:
ecdsa-sha2-nistp256 256 SHA256:HsRMZnW4YqU3fOoYCcchTwK7b7Zqcbjap04O9OCtkG4
If you trust this host, enter "y" to add the key to Plink's
cache and carry on connecting.
If you want to carry on connecting just once, without adding
the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n, Return cancels connection, i for more info)
--
FROM 183.30.218.*
源码位于:ytang/welly
你知道怎么补域名的。
秘密就在 WLPTY.m 和 WLConnection.m 中,
【 在 B2020 的大作中提到: 】
: 每次重启系统后,welly自动登录水木时,就会跳出这个信息。
: 有点烦人,不知道有人解决过没?
: The host key is not cached for this server:
: ...................
--
修改:B2020 FROM 113.81.170.*
FROM 183.30.218.*
有 identity 就使用系统自带的 ssh,
否则使用 plink,但后者似乎也不会缓存登录认证信息,或者说这个缓存也没写入文件。
【 在 B2020 的大作中提到: 】
: 源码位于:ytang/welly
: 你自己补域名。
: 秘密就在 WLPTY.m 和 WLConnection.m 中,
: ...................
--
FROM 183.30.218.*
代码实现把 identityFile 和 known_hosts 都放在 tmp 目录了
然而,沙盒的 temporary 目录的缺陷是:
系统会定期清理该目录中的文件(通常根据系统维护策略,如重启后或空间不足时)。
避免依赖持久性:临时文件可能被系统自动清除,不适合存储长期数据。
问题是,这个目录一直是空的:
~/Library/Containers/com.ytang.Welly/Data/tmp
所以,一直用的是 plink,从没用过macOS自带的 /usr/bin/ssh 吗?
welly内置的plink的缓存策略是怎样的呢?
【 在 B2020 的大作中提到: 】
: 有 identity 就使用系统自带的 ssh,
: 否则使用 plink,但后者似乎也不会缓存登录认证信息,或者说这个缓存也没写入文件。
--
修改:B2020 FROM 113.81.170.*
FROM 113.81.170.*
有效,重启系统后不需要确认ssh连接
【 在 mindcontrol 的大作中提到: 】
: 已经提交申请
: ytang welly pull 13
: 我的发布 本地签名
: ...................
--
FROM 113.81.7.*