Bitnami gitlab 需要 SSH 服务器

Bitnami gitlab needs SSH server

我正在尝试安装 bitnami gitlab 使用 Putty 我使用 SSH 登录到我的 debian 服务器上的 root 帐户,我下载了安装程序,将执行添加到 运行 文件和 运行 它并且我收到了这个:

This installer detects that SSH server is not running. Please start the SSH server to get this application working fine.

需要哪个包?

root@PXE:~# ps ax | grep sshd
10750 ?        Ss     0:00 sshd: krzysiek [priv]
10754 ?        S      0:00 sshd: krzysiek@pts/1
10948 ?        Ss     0:00 /usr/sbin/sshd -D
11445 pts/1    S+     0:00 grep sshd

机器

Linux PXE 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux

OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.1t 3 May 2016

root@PXE:~# dpkg-query --list | grep ssh
ii  libssh2-1:amd64                       1.4.3-4.1+deb8u1                     amd64  
ii  openssh-client                        1:6.7p1-5+deb8u3                     amd64  
ii  openssh-server                        1:6.7p1-5+deb8u3                     amd64  
ii  openssh-sftp-server                   1:6.7p1-5+deb8u3                     amd64  
ii  task-ssh-server                       3.31+deb8u1                          all    

SSH 服务器是 disabled by default on Bitnami VM

Bitnami FAQ 说:

要启用 SSH 服务器,请在服务器控制台执行以下命令:

sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf
sudo start ssh

重要提示:启用 SSH 服务器之前,请更改默认密码以确保安全。

这里是 bitnami 开发者。

我在虚拟机上测试过,关于 ssh 服务器,我得到了和你一样的错误。 然后我做了:

sudo apt-get update && apt-get upgrade

sudo apt install openssh-server

sudo apt install openssh-client

然后我再次 运行 安装程序,它对我有用。

希望对您有所帮助。