Linux serverNETWORK ADMINISTRATIONS

02.2. Installing sftp on RHEL or CentOS 7

In this video I am going to show you how to install and configure sftp on RHEL/CentOS 7. I am using CentOS 7 for the demo. The procedure is the same for RHEL 7.

Commands:

# install sftp client
sudo yum makecache
sudo yum install openssh-clients

# install ssh server
sudo yum get install openssh-server

# check if the ssh server is running correctly
sudo systemctl status sshd

# start ssh server
sudo systemctl start sshd

# stop ssh server
sudo systemctl stop sshd

# start ssh server on system boot
sudo systemctl enable sshd

source

centos 7

Leave a Reply

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