【发布时间】:2016-12-16 09:51:30
【问题描述】:
我正在尝试安装bitnami gitlab 使用 Putty,我使用 SSH 登录我的 debian 服务器上的 root 帐户,我下载了安装程序,添加了执行以运行文件并运行它,我收到了这个:
此安装程序检测到 SSH 服务器未运行。请开始 SSH 服务器让这个应用程序正常工作。
它需要哪个包?
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 2016 年 5 月 3 日
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
【问题讨论】:
-
你能检查一下这个命令的输出吗?
ps -C sshd -
root@PXE:~# ps -C sshd PID TTY TIME CMD 10948 ? 00:00:00 sshd 16861 ? 00:00:00 sshd