在我的~/.ssh/config
中,我添加了以下内容:
Include /Path/to/ssh.config
它会给出错误:
ssh remoteEc-2
/Users/Me/.ssh/config: line 1: Bad configuration option: include
/Users/Me/.ssh/config: terminating, 1 bad configuration options
ssh -V
提供了:
OpenSSH_6.9p1, LibreSSL 2.1.8
我在OSX El-Capitan上
发布于 2018-08-25 02:45:53
同样的问题,除了我在7.4
结果是the Include
directive needs to go into /etc/ssh/ssh_config,而不是/etc/ssh/sshd_config
(注意文件名中的d
)。
对我来说并不明显。希望这能为找到这个的人节省一些时间。
https://stackoverflow.com/questions/43371489
复制相似问题