提交 063b4c7d 编写于 作者: C C.J. Jameson 提交者: C.J. Jameson

Concourse: run /usr/sbin/sshd in simple, consistent way

This is good for Ubuntu, CentOS, and SLES -- we shouldn't have needed to
change it
Signed-off-by: NGoutam Tadi <gtadi@pivotal.io>
上级 55fa7518
......@@ -91,13 +91,7 @@ setup_sshd() {
setup_ssh_for_user root
# Test that sshd can start
if [ -x /etc/init.d/sshd ]; then
/etc/init.d/sshd start
elif [ -x /etc/init.d/ssh ]; then
# Ubuntu uses ssh instead of sshd
/etc/init.d/ssh start
fi
/usr/sbin/sshd
ssh_keyscan_for_user root
ssh_keyscan_for_user gpadmin
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册