Blog
Switch to root user on the environment.
$su -
Use sudo in all the below commands instead of switching to root user.
sudo dnf install -y openssh-server
Install open-ssh-server package
#dnf install -y openssh-server
To start sshd daemon
#systemctl start sshd.service
To check the sshd daemon status whether active or disabled.
#systemctl status sshd.serviceOutput:
To stop the sshd daemon on the environment.
#systemctl stop sshd.service
To enable sshd daemon permanently
systemctl enable sshd.serviceOutput:
Created symlink /etc/systemd/system/multi-user.taget.wants/sshd.service -> /usr/lib/systemd/system/sshd.service
To start sshd daemon
#systemctl start sshd.service
To check the sshd daemon status whether active or disabled.
#systemctl status sshd.service
To disable sshd daemon on the environment.
#systemctl disable sshd.serviceOutput:
Removed /etc/systemd/system/multi-user.taget.wants/sshd.service.« Previous Next »
Blog
Privacy Policy | Copyright2020 - All Rights Reserved. | Contact us
| Report website issues in Github
| Facebook page
| Google+ page