Ubuntu: Activate SSH - Here's how
If you enable SSH on Ubuntu, you can use the secure network connection. We'll show you how to activate Secure Shell on your system.
Ubuntu: Activate SSH - Here's how
To enable SSH, you need to install it on your Ubuntu system.
- To do this, start the terminal under Ubuntu. This is easily done with the key combination [Ctrl] + [Alt] + [T].
- Enter the command "sudo apt-get install openssh-server" to load and install SSH from the Ubuntu server.
- SSH should now be active, but you can check the status. To do this, enter the command "sudo service ssh status" and look for the line "Active: active (running)".
Adjust settings after installation
After installation and activation, you may need to adjust the SSH settings.
- If you want to connect to another SSH-capable server, you need your user name and the port.
- You can define these settings with the "sudo nano / etc / ssh / sshd_config" command.
- Specify your host, your port and your user name here under a single name, such as "My Name". If you then want to establish an SSH connection later, you no longer have to enter the host, port and user name. Then, for example, "ssh my name" is sufficient.
- You must restart SSH to apply the changes. You can do this with the "sudo service ssh restart" command.
In our next practical tip, we will show you how to establish an SSH connection under Mac OS X.