Topic: How to change the SSH port
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 29/05/2020 version from github
- Deployed with iRedMail Easy or the downloadable installer? using iRedMail.sh
- Linux/BSD distribution name and version: Ubuntu server 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL (mariadb-server-10.3}
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Dear Sirs,
I need to change the port of the sshd to reduce the brute force connection tries.
Looking at the various iRedMail specific files, I saw that the sshd port is somehow hard coded to default port 22
The question is: How can change the sshd port to an arbitrary port and update all the iRedMail specific files?
Is there any easy way?
Thanks and Best Regards,
Mike Kranidis
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.