Contents
Type sudo apt-get install openssh-server. Enable the ssh service by typing sudo systemctl enable ssh. Start the ssh service by typing sudo systemctl start ssh. Test it by login into the system using ssh [email protected]
How do I install ssh?
Install OpenSSH using Windows Settings
- Open Settings, select Apps > Apps & Features, then select Optional Features.
- Scan the list to see if the OpenSSH is already installed. If not, at the top of the page, select Add a feature, then: Find OpenSSH Client, then click Install. Find OpenSSH Server, then click Install.
How do I start ssh on Linux?
Linux start sshd command
- Open the terminal application.
- You must log in as root.
- Use the following commands to start the sshd service: /etc/init.d/sshd start. OR (for modern Linux distro with systemd) …
- In some cases, the actual script name is different. For example, it is ssh.service on a Debian/Ubuntu Linux.