Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ssh include指令不工作_Ssh_Openssh_Sequelpro - Fatal编程技术网

ssh include指令不工作

ssh include指令不工作,ssh,openssh,sequelpro,Ssh,Openssh,Sequelpro,所以ssh在控制台/终端上运行良好,但当我使用MySQL数据库客户端(Sequel Pro)时,它似乎使用了不同的ssh版本,因此include指令不起作用。它声明它使用的是正确的SSH版本,但它是否在协议执行期间的某个点进行切换 OpenSSH_7.5p1, OpenSSL 1.0.2l 25 May 2017 debug1: Reading configuration data /Users/me/.ssh/config debug1: Reading configuration data

所以ssh在控制台/终端上运行良好,但当我使用MySQL数据库客户端(Sequel Pro)时,它似乎使用了不同的ssh版本,因此include指令不起作用。它声明它使用的是正确的SSH版本,但它是否在协议执行期间的某个点进行切换

OpenSSH_7.5p1, OpenSSL 1.0.2l  25 May 2017
debug1: Reading configuration data /Users/me/.ssh/config
debug1: Reading configuration data /Users/me/.ssh/devops
debug1: Reading configuration data /Users/me/.ssh/defaults
debug1: /Users/me/.ssh/defaults line 4: Applying options for *
debug1: /Users/me/.ssh/defaults line 76: Applying options for ch-pre-bastion
debug1: /Users/me/.ssh/defaults line 80: Applying options for ch-pre-*
debug1: Reading configuration data /usr/local/etc/ssh/ssh_config
debug1: Control socket " none" does not exist
debug1: Executing proxy command: exec ssh gateway@52.33.83.63 -W 52.33.83.63:22
debug1: permanently_drop_suid: 502
debug1: identity file /Users/me/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/me/.ssh/id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.5
/Users/me/.ssh/config: line 1: Bad configuration option: include
/Users/me/.ssh/config: line 2: Bad configuration option: include
/Users/me/.ssh/config: terminating, 2 bad configuration options
ssh_exchange_identification: Connection closed by remote host

您的计算机上可能安装了更多的SSH版本,并且proxy命令中的版本可能正在使用旧版本,而不支持
Include

debug1:执行代理命令:exec sshgateway@52.33.83.63-W 52.33.83.63:22


尝试找到
ssh
二进制文件的完整路径,并在
ProxyCommand
~/.ssh/config
中使用它,或者只使用
ProxyJump
选项,该选项应选择正确的
ssh
实例。

我必须在mac上禁用SIP,并将系统版本(usr/bin/ssh)(6.x)符号链接到我的自制7.5版本(usr/local/bin/ssh)。