我收到错误:
Unable to read file 'vscode-remote://ssh-remote+ampere1.stanford.edu/lfs/ampere1/0/brando9/evaporate/evaporate/run_profiler.py' (NoPermissions (FileSystemError): Error: EACCES: permission denied, stat '/lfs/ampere1/0/brando9/evaporate/evaporate/run_profiler.py')
这很奇怪,因为看到我有 kerberos 令牌就好了:
(data_quality) brandomiranda~/.ssh ❯ klist -l
Name Cache name Expires
* [email protected] API:99A7672E-C880-45C8-A5CE-8B95DA0C9DF2 Jul 26 01:12:13 202
我也可以从终端 ssh 进入服务器,无需密码:
(data_quality) brandomiranda~ ❯ ssh [email protected]
Last login: Tue Jul 25 15:05:38 2023 from 172.24.69.154
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
ampere1.stanford.edu
Ubuntu 20.04 (5.4.0-122-generic)
128 x AMD EPYC 7543 32-Core Processor, 1.96 TiB RAM, 8.00 GiB swap
enp139s0f1: 172.24.75.12
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-> For help or to report problems, go to http://support.cs.stanford.edu
(maf) brando9@ampere1~ $
顺便说一句,这是配置文件
(data_quality) brandomiranda~/.ssh ❯ cat config
Host *.stanford.edu
# HostName *.stanford.edu
User brando9
GSSAPIDelegateCredentials yes
GSSAPIAuthentication yes%
那么问题出在哪里呢?我该如何解决它?