Posted On May 21, 2020

Lubuntu 20.04 – Enable SSH

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Lubuntu 20.04 – Enable SSH
# Install sshd
sudo apt install ssh -y
sudo systemctl enable --now ssh

# Configure firewall to allow ssh
sudo ufw allow ssh

# Check firewall
ufw status verbose
# sudo ufw delete allow ssh # disallow ssh through firewall

# Configure ssh to enable root login - please make sure that root has a password
sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config

# Set gracetime
sudo sed -i 's/#LoginGraceTime 2m/LoginGraceTime 2m/' /etc/ssh/sshd_config

# restart sshd
sudo systemctl restart sshd

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Installing ScreenConnect Client on Ubuntu 20.04

Installation: # CLI installation method after setup file has been downloaded sudo apt install default-jre…

PKGSRC

wget ftp://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.gz mkdir ~/usr tar -xzvf pkgsrc.tar.gz -C ~/usr ~/usr/pkgsrc/bootstrap/bootstrap --unprivileged # for permanence, put…

How to Use ImageMagic to Resize Images

Converting PNG to JPG (optimized): # This is an optimized resizing command to convert PNG…
Other project: DragonCoin.com