Showing posts with label Openssh. Show all posts
Showing posts with label Openssh. Show all posts

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/

Install and enable openssh in fedora server 31

$ sudo dnf install openssh-server

Enable service sshd to make sure that SSH daemon will start after the reboot:

$ sudo systemctl enable sshd

To start SSH server:

$ sudo systemctl start sshd

check the SSH server status using the following command:

$ sudo systemctl status sshd

Furthermore, you should now see the port 22 open for a new incoming connections:

$ sudo ss -lt



Source:https://linuxconfig.org/how-to-install-start-and-connect-to-ssh-server-on-fedora-linux