Skip to content
Search RunEntLinux

Searches general documentation on RunEntLinux. Each distribution has its own documentation search.

    Browse this documentation

    This article explains how to configure and use SSH to remotely connect to your EL server.

    • Verify the SSH service status
    • Log in using password and key-based authentication
    • Basic SSH security configuration

    EL 9 installs and enables the OpenSSH service by default:

    Check sshd status
    $ sudo systemctl status sshd
    Confirm SSH port is open
    $ sudo ss -tlnp | grep :22
    Basic connection
    $ ssh username@server-ip
    Specify a port
    $ ssh -p 2222 username@server-ip

    Key-based authentication is more secure than passwords and is recommended:

    Generate a key pair on the client
    $ ssh-keygen -t ed25519 -C "your-comment"
    Copy the public key to the server
    $ ssh-copy-id username@server-ip

    After verifying key-based login works, consider disabling password authentication. See SSH Security Hardening for details.