I used the "were is" command to find "22," changed it to a different port, then use the "write out" command. I did the same thing to change it back to port 22, but I didn't reboot the server and that was the problem.
Thanks,
Chas.
Return to “Linux problem: can't change port in sshd_config file”
I used the "were is" command to find "22," changed it to a different port, then use the "write out" command. I did the same thing to change it back to port 22, but I didn't reboot the server and that was the problem.
That was it! I didn't reboot when I changed the port. As you can see, I'm green as grass when it comes to Linus.