Overview
I installed OpenSSH Server on Ubuntu and changed sshd_config so the service listens on a different port.
What I set out to do
- Allow remote administration on a non-standard port.
What I did
- I installed OpenSSH Server.
- I changed the port from 22 to 2222 in sshd_config.
Screenshots
They are in the same order as in my repository. Click one to see it full size.
1. SSH Server InstallationOpenSSH Server was successfully installed on Ubuntu, enabling secure remote administration capabilities. 2. SSH Service StatusVerified that the SSH service was running correctly and accepting connections on the default SSH port (22). 3. SSH Configuration UpdateThe SSH server configuration file (`sshd_config`) was updated to change the default SSH listening port. 4. Custom SSH Port VerificationConfirmed that the SSH service was successfully listening on the new custom port (2222), proving the configuration changes were applied successfully. 5. Remote SSH Access from WindowsSuccessfully established a secure SSH connection from a Windows client to the Ubuntu server using the custom SSH port (2222), confirming successful remote administration.
How I tested it
- The service was listening on 2222.
- I connected from a Windows computer over SSH on port 2222.
Repository
My full notes and the original screenshots are on GitHub: linux-projects/03-ssh-server