Newly installed openssh-server and upstart: status: Unknown job: ssh
Just after installing openssh-server, there is no ssh service in the initctl's list. Consequently, the SSH server cannot be started:
# initctl start ssh
initctl: Unknown job: ssh
# dpkg -l | grep ssh
ii openssh-client 1:6.6p1-2ubuntu2 i386 secure shell (SSH) client, for secure access to remote machines
ii openssh-server 1:6.6p1-2ubuntu2 i386 secure shell (SSH) server, for secure access from remote machines
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
# initctl reload-
# initctl list | grep ssh
ssh-agent start/running
# ps axuw | grep ssh
ivoras 1578 0.0 0.0 4216 200 ? Ss Sep08 0:00 ssh-agent -s
root 11810 0.0 0.0 6168 852 pts/2 S+ 11:26 0:00 grep ssh
# initctl start ssh
initctl: Unknown job: ssh
Running "/etc/init.d/ssh" does not do anything since the script exits, AFAIK in the upstart check.
Running "service ssh restart" results in:
# service ssh restart
stop: Unknown job: ssh
start: Unknown job: ssh
So the question is - how do I control the ssh service in Ubuntu 14.04?
*Update*: After rebooting the machine, sshd is started (!), but still not visible in "initctl list" (!!) and running /etc/init.d/ssh still doesn't do anything (!!!), as well as the "service" command returning the same "Unknown job: ssh" error.
I'm... a bit puzzled on how these things should work in Ubuntu?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu openssh Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ivan Voras for more information if necessary.