How to enable sshd?
Some applications like GitLab or Gitorious require to have SSH access to import the repositories. The « ssh » server is disabled by default for Virtual Machines. You can enable the « ssh » server from the machine console as follows:
- For Ubuntu
$ sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf $ sudo start ssh
Now you can login from a different machine using « ssh » and the IP address of your Virtual Machine.
If you want to disable it you can use the reverse method:
- For Ubuntu
$ sudo stop ssh $ sudo mv /etc/init/ssh.conf /etc/init/ssh.conf.back
IMPORTANT: Before enabling the sshd server you should modify your default user password for security reasons. In the next section, you can find more information on how to increase the server security.