/root/.ssh/config:第 2 行:错误的配置选项:sapiauthentication

/root/.ssh/config:第 2 行:错误的配置选项:sapiauthentication

我的虚拟环境/系统:

# uname -a
Linux X 4.9.0-18-amd64 #1 SMP Debian 4.9.303-1 (2022-03-07) x86_64 GNU/Linux
# cat /etc/debian_version
9.13
# ssh -V
OpenSSH_7.4p1 Debian-10+deb9u7, OpenSSL 1.0.2u  20 Dec 2019
#

我无法弄清楚如何禁用SAPIAuthentication

# /usr/bin/sftp -i /root/.ssh/id_rsa -b /root/test [email protected] -v
/root/.ssh/config: line 2: Bad configuration option: sapiauthentication
/root/.ssh/config: terminating, 1 bad configuration options
Couldn't read packet: Connection reset by peer
# cat ~/.ssh/config
Host X.Y.Z
  SAPIAuthentication no
#

请指教)提前谢谢!

答案1

您无法禁用SAPIAuthentication但您可以禁用GSSAPIAuthentication

相关内容