What is the best why to install an Ubuntu Server image with the minimum possible of package ( no default, no extrat ) that can only allow ssh connection to it and nothing else.

  • Nothing else? Why, then, connect via SSH?
    – waltinator
    Jul 25, 2015 at 1:01

1 Answer 1


Perhaps the Ubuntu "Minimal CD", aka the "minimal ISO image", is close enough to what you are looking for.

After doing a minimal install, I think there's only one more thing you need to do to allow ssh connection:

The Ubuntu Server Guide says (in the OpenSSH Server section) that

sudo apt-get install openssh-server

allows people to ssh to your server. You'll probably also want to to the other things suggested at How do I configure a new Ubuntu installation to accept ssh connections? .


If on one machine one installs the "Minimal CD", and then runs

sudo tasksel install server

and on another machine one installs the "Ubuntu Server CD", my understanding is that the two machines are practically the same.

If you know what the difference is between them, please post that difference to Is using Ubuntu Minimal any different from Server? .

See What does the "Basic Ubuntu Server" package contain in software selection during installation? for more details.

  • But dose the minimal install give the same capability as the server install like lower latency and with different task scheduler ? my goal is to have the most robust and minimal server release to e able after to install some software on top without having any extra or default package that i don't need.
    – CH-Slim
    Jul 25, 2015 at 13:42
  • Replace linux-generic by linux-rt(this fork is not built in all architectures, e.g.SecureBoot signed) Jul 25, 2015 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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