-1

According to this answer, SSH is disabled by default. However, looking around at tutorials, there were plenty of examples of installing an SSH server (e.g. sudo apt install openssh-server), which I completed. After running the install (appropriate prompts for new data usage etc.), I checked the aforementioned post and found the file /etc/init/ssh.conf did indeed exist.

Did I just install OpenSSH for no reason, and did 16.04.4 LTS have an SSH server built in that I simply had to enable and configure?

user3.1415927
  • 178
  • 1
  • 14

1 Answers1

5

SSH server is provided by the openssh-server package.
You can consult with Ubuntu 16.04 LTS Server Guide p.101 about setting it up.

Desktop flavors of Ubuntu do NOT include that package when installed.

The Ubuntu Server and Ubuntu Core flavors DO include the package, since they are designed to run headless.

Any flavor of Ubuntu can install (or uninstall) the package. Any flavor of Ubuntu can have (or not) an SSH server.

N0rbert
  • 99,918
user535733
  • 62,253
  • You answered my question when you said *Desktop flavors* of Ubuntu do not include that package when installed. After browsing the server guide, I see that it does have useful information, but I would not presume to read such a guide originally, as I’m not using Ubuntu server version. – user3.1415927 Jul 01 '18 at 03:32