Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am unable to install openssh-server on an Ubuntu 13.10 virtual machine. Here is the command I used and it's output:

sudo apt-get install openssh-server
[sudo] password for mohamed:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openssh-server' has no installation candidate
share|improve this question

2 Answers 2

up vote 1 down vote accepted

In software sources settings enable (if not enabled) main, multiverse and universe sources, then run sudo apt-get update, and try it again.

share|improve this answer
Thank you, before posting my question I have enabled the multiverse sources, but I didn't know I have to apt-get update afterwards. –  Mohamed Ahmed Jun 18 '14 at 16:42

Find which package has replaced Openssh-server by searching the apt cache as follows:

sudo apt-cache search sshd

You'll find the desired package here, install the package by usual manner. If the search doesn't show any result then give us your /etc/apt/sources.list entries.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.