我使用带有远程-SSH扩展的Visual代码,并且我不想在登录后多次进行身份验证。因此,我在ControlMater选项中搜索ssh_config来设置。无法连接到Leo-OA:无法访问或不能访问Linux x86_64 (packet_write_poll:连接到未知端口-1:权限被拒绝)Client:
下面是我的设置文件
# Read more about SSH
使用VisualStudioCode扩展远程-SSH。在Powershell中执行ssh-test运行良好(不需要密码),但是启动"Connect to host“将得到以下结果:[22:02:41.776] win32 x64
[22:02:41.778] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a2231302e352e362e3739222c227573657222