- 论坛徽章:
- 0
|
刚装好cygwin,已经加载好了用的包,ssh的包也确认安装了,但是启动服务时候报错,求万能的大神们 指点啊!~~~~
ssh -V
OpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015
ssh-host-config
C:/cygwin64/bin/ssh-host-config 28: syntax error: got (, expecting Newline
启动的时候,报这个错误,ssh-host-config是个配置文件,我去这个folder下面找了这个配置文件。但是没看出来什么语法错误,下面是那个地方的配置文件:
# ======================================================================
# Initialization
# ======================================================================
CSIH_SCRIPT=/usr/share/csih/cygwin-service-installation-helper.sh
# List of apps used. This is checkad for existance in csih_sanity_check
# Don't use *any* transient commands before sourcing the csih helper script,
# otherwise the sanity checks are short-circuited.
declare -a csih_required_commands=(
/usr/bin/basename coreutils
/usr/bin/cat coreutils
/usr/bin/chmod coreutils
/usr/bin/dirname coreutils
/usr/bin/id coreutils
/usr/bin/mv coreutils
/usr/bin/rm coreutils
/usr/bin/cygpath cygwin
/usr/bin/mkpasswd cygwin
/usr/bin/mount cygwin
/usr/bin/ps cygwin
/usr/bin/umount cygwin
/usr/bin/cmp diffutils
/usr/bin/grep grep
/usr/bin/awk gawk
/usr/bin/ssh-keygen openssh
/usr/sbin/sshd openssh
/usr/bin/sed sed
)
csih_sanity_check_server=yes
source ${CSIH_SCRIPT}
28行指的是'declare -a csih_required_commands=('这里开始的.求指教啊!~~ |
|