- Login as root or switch to root user.
- Edit the SSH configuration file: Open the SSH configuration file
/etc/ssh/sshd_configusing a text editor - Find the line that specifies the port
- Change the port number
- Restart SSH service
Published by
on
/etc/ssh/sshd_config using a text editor in learning you will teach and in teaching you will learn
~ Phil Collins
Leave a comment