nuriel77 / iri-playbook

IOTA IRI Fullnode Installation Playbook
MIT License
105 stars 24 forks source link

Customized SSH port is not allowed on ufw #82

Closed luixxiul closed 6 years ago

luixxiul commented 6 years ago

Description: Customized SSH port is not allowed on ufw. The default 22 port is allowed on ufw, while the ssh port has been customized beforehand. This issue seems to me to be a crucial one as you cannot log in to your server account with SSH client after installation.

Steps to reproduce the issue:

  1. Log in to your server account with a SSH client
  2. Customize SSH port from 22 to something else
  3. sudo systemctl restart ssh
  4. Run the installer following https://iri-playbook.readthedocs.io/en/master/getting-started-quickly.html#run-the-installer

Expected result: The port should be allowed on ufw based on your customization on step 2.

Actual result: Port 22 is allowed on ufw, you're logged out from SSH and cannot log in with SSH again.

nuriel77 commented 6 years ago

Added:

nuriel77 commented 6 years ago

https://github.com/nuriel77/iri-playbook/commit/8ad4c5ae8f1488b6feab750c42474f0e7e8ee680

luixxiul commented 6 years ago

Thanks for the fast fix!