How to Install and Set Up SFTP Server in Ubuntu 22.04
Channel:
Subscribers:
17,300
Published on ● Video Link: https://www.youtube.com/watch?v=dcLYbKbkwOk
In this quick tutorial, you'll learn how to ensure the OpenSSH service starts automatically every time your Linux system boots up. Whether you're setting up remote access on a server or just want a smoother SSH experience, this step is essential for reliable connectivity.
📋 Commands Used in This Video:
sudo apt install openssh-server -y
sudo systemctl status ssh
sudo useradd -m user1 -G mygroup
sudo nano /etc/ssh/sshd_config
=======================================================
Match group mygroup
ChrootDirectory /home
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
======================================================