Configure SSH Server to operate servers from remote computers.
OpenSSH Default Setup:
OpenSSH is already installed by default with CentOS Stream, even with a Minimal Install.
Password Authentication:
By default, you can log in with password authentication. For improved security, it's advisable to change the PermitRootLogin parameter.
vi /etc/ssh/sshd_config
# line 40: change (prohibit root login)
# Options: [prohibit-password], [forced-commands-only]
PermitRootLogin no
systemctl restart sshd
Firewall Settings for SSH:
If Firewalld is running, allow SSH service. SSH uses 22/TCP.
firewall-cmd --add-service=ssh
firewall-cmd --runtime-to-permanent
The command should return success upon completion.
Install SSH Client:
dnf -y install openssh-clients
Connect to SSH Server:
Connect using a common user.
ssh username@(hostname or IP address)
Example:
ssh cent@dlp.emc.world
Executing Remote Commands:
You can execute commands on the remote host via SSH.
ssh username@hostname "command"
Example:
ssh cent@dlp.emc.world "cat /etc/passwd"
Download a SSH Client:
For Windows, download and install a SSH client like PuTTY.
Connecting with PuTTY:
Start PuTTY, input your server's hostname or IP address, and click [Open] to connect.

After successing authentication, it's possible to login and operate CentOS server from remote computer

ssh command in PowerShell or Command Prompt without third-party software like PuTTY.