Search found 3 matches

by parabelum
Fri Aug 28, 2020 11:41 pm
Forum: Technical Tips, Questions & Discussions (Computers & Internet)
Topic: Linux problem: can't change port in sshd_config file
Replies: 7
Views: 7833

Re: Linux problem: can't change port in sshd_config file

SQLGeek wrote: Fri Aug 28, 2020 11:36 pm Sorry for the elementary question but did you restart the ssh service?

I'd be happy to look over the sshd_config file too if you want to pm it or email it to me.
Good point.

/etc/init.d/apf restart and then /etc/init.d/sshd restart.
by parabelum
Fri Aug 28, 2020 11:25 pm
Forum: Technical Tips, Questions & Discussions (Computers & Internet)
Topic: Linux problem: can't change port in sshd_config file
Replies: 7
Views: 7833

Re: Linux problem: can't change port in sshd_config file

So I guess you went to /etc/ssh/sshd_config file and searched for port 22 line, adjusted it to the new port and updated firewall accordingly? Reverse the steps (make sure your firewall update goes back to port 22)? Did you remove the # character?

Return to “Linux problem: can't change port in sshd_config file”