Thursday, May 15, 2025

ALT Linux: Setting up SSH connection for user "root"

To configure, follow these steps:

1. Install or verify that the "openssh" package is installed:
sudo apt-get install openssh

2. Edit the configuration file:
sudo nano /etc/openssh/sshd_config
Uncomment and set the "PermitRootLogin" parameter to "yes".

3. Restart the daemon:
sudo systemctl restart sshd

If the service was not running, enable and run:
sudo systemctl enable --now sshd

4. Try to establish a connection via SSH as the "root" user.

No comments:

Post a Comment