Sunday, April 19, 2020

Install and enable SSH on Lubuntu 19.10

sudo apt install net-tools

use ifconfig to see the automatically given ip

sudo apt install openssh-server

after installing to start stop and restart this service

sudo systemctl stop ssh

sudo systemctl start ssh

sudo systemctl restart ssh

To disable the SSH service to start during system boot run:

sudo systemctl disable ssh

To enable it again type:

sudo systemctl enable ssh

Ubuntu comes with a firewall configuration tool called UFW. If the firewall is enabled on your system, make sure to open the SSH port:

sudo ufw allow ssh





Source:https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-18-04/

No comments:

Post a Comment