关于 macos14(sonoma)AccessClient闪退,以及ssh无法正常打开的处理

闪退问题

闪退处理步骤

找文件

open Applications/AccessClient.app/Contents/Resources/Scripts

如果以上找不到路径,可以打开 访达->应用程序->AccessClient->显示包内容->Contents->Resources->Scripts

main.scpt 用 脚本编辑器打开

找到以下代码:

do shell script "python '" & exec_path & "' '" & this_url & "' '" & resources_dir & "' > " & logfile & " 2>&1 &"

"python '" 改为 "python3 '",其他不变 ↓

do shell script "python3 '" & exec_path & "' '" & this_url & "' '" & resources_dir & "' > " & logfile & " 2>&1 

notice:要先安装python3环境,不知道有没有安装python3 建议直接用终端输入python3进行测试

无法正常打开ssh问题

情况1:

显示如下内容:

connecting ...
add 'HostkeyAlgorithms +ssh-dss' to ~/.ssh/config

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[进程已完成]

这个得听劝…执行以下命令

vim ~/.ssh/config

# 添加以下这一行
HostkeyAlgorithms +ssh-dss

保存

情况2

显示以下内容:

connecting ...
Connect response :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 DSA key sent by the remote host is
SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
Please contact your system administrator.
Add correct host key in /Users/XXX/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/XXX/.ssh/known_hosts:2
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
UpdateHostkeys is disabled because the host key is not trusted.


Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[进程已完成]

这个咋说呢。。。可以说是基本没救了,删东西吧,要是有重要的东西。。。备份也行

rm -f ~/.ssh/known_hosts

再不行的话,看日志排查问题吧

大概步骤:
1.查看日志路径

> echo $TMPDIR
>  /var/folders/w_/t27d0n311rs38l99wj5v8cl80000gn/T/

2.拼接路径

> tail -100f /var/folders/w_/t27d0n311rs38l99wj5v8cl80000gn/T/AccessClient.out

就可以看到日志信息了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值