[問題] sshd不能開啟

看板Linux作者 (新生活!~)時間13年前 (2012/11/07 11:46), 編輯推噓0(006)
留言6則, 3人參與, 最新討論串1/1
請問一下 我打dpkg -l | grep ssh 出現 ii libssh-4 0.5.2-1 tiny C SSH library ii openssh-client 1:5.9p1-5ubuntu1 secure shell (SSH) client, for secure access to remote machines ii openssh-server 1:5.9p1-5ubuntu1 secure shell (SSH) server, for secure access from remote machines ii python-paramiko 1.7.7.1-2 Make ssh v2 connections with Python ii ssh 1:5.9p1-5ubuntu1 secure shell client and server (metapackage) ii ssh-askpass-gnome 1:5.9p1-5ubuntu1 interactive X program to prompt users for a passphrase for ssh-add ii ssh-import-id 2.10-0ubuntu1 securely retrieve an SSH public key and install it locally 看來openssh-server有安裝好 可是當我打 sudo service sshd start 總是得到 sshd: unrecognized service 為什麼會這樣呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.109.103.227

11/07 12:19, , 1F
應該是service ssh?
11/07 12:19, 1F

11/07 12:56, , 2F
可是我要啟動的是ssh daemon阿 @@
11/07 12:56, 2F

11/07 12:58, , 3F
可以了,果然是service ssh,怎麼跟鳥哥教的不一樣阿!
11/07 12:58, 3F

11/07 15:08, , 4F
dpkg 應該是 debian 流派囉,鳥哥文件上已redhat為主
11/07 15:08, 4F

11/07 15:09, , 5F
有些名字上的差異還蠻正常的呀,找不到可以到 /etc/init.d/
11/07 15:09, 5F

11/07 15:09, , 6F
去翻看看
11/07 15:09, 6F
文章代碼(AID): #1GcTcZVr (Linux)