I vimed into
After I restarted httpd.
service httpd restart
However, ssh still only works on -p22.
How do I edit the ssh config file to change the ssh port?
Remove the comment marker (#) before the statement.
and you have to restart sshd, not httpd.
sudo systemctl restart sshd
Had to edit the /etc/ssh/sshd_config file, but also had to:
semanage port -a -t ssh_port_t -p tcp 922
In order to get semanage
dnf install policycoreutils-python-utils
Then restart sshd
systemctl reload sshd.service