闪退问题
闪退处理步骤
找文件
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
就可以看到日志信息了