Changing ssh port - multi server setup

Discussion in 'ISPConfig 3 Priority Support' started by Stelios, Mar 11, 2023.

  1. Stelios

    Stelios Active Member HowtoForge Supporter

    Hi all,

    On a multi server setup assuming I will change in ssh config the default 22 port to lets say 5555 will I need afterwards to update anything else in ISPConfig itself?
    Any kind of script that is invoking ssh is it checking the ssh config to lookup the default port?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The only place you must change the SSH port in ISPConfig are the firewall rules, but only in case you configure the firewall with ISPConfig.
     
  3. Stelios

    Stelios Active Member HowtoForge Supporter

    Thanks Till
     
  4. Stelios

    Stelios Active Member HowtoForge Supporter

    @till one more question please.
    If I disable also the PermitRootLogin in ssh config, would that affect the communication between servers somehow?
    If yes, is there a way to setup to ISPConfig to use instead of root lets say the user1 with sudo?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    no
     

Share This Page