Networks and access Author · Iulian Aldea ·
Editorial date · 2026-11-30
- Before starting, check the current listening ports and keep the provider console available.
ss -lnt- Add the new port alongside the old one in the SSH configuration. Check whether your distribution uses
ssh.socketbefore reloading. sudo sshd -t- Apply the configuration after validation succeeds and the firewall permits TCP on the new port.
ssh -p 10022 user@server- Confirm key login in a second window. If it fails, use the old session to correct the configuration.