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 downloaded and installed Ubuntu 14.04 LTS on my VM and found that SSH was not working. Tried following but nothing worked:

sudo apt-get install ssh

I see only openssh_client installed, I don't see openssh_server not installed.

Can you help me to install openssh_client, i tried sudo apt-get install openssh-server this gave following error:

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

I had the same problem it worked by following steps

  1. sudo apt-get remove openssh-client
  2. sudo apt-get update
  3. sudo apt-get install openssh-server.

Some may think that removing ssh client will break everything, which is not true. It only removes ssh client app.

ssh issue appear to be there in all Ubuntu 14 Desktop versions, and this appear to be the easiest solution.

share|improve this answer

I had the same issue, changed server in to best server in the software center and it was resolved.

share|improve this answer
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Fabby 2 days ago

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.