Close port 22 by default
xueshanf opened this issue · comments
Xueshan Feng commented
Make ssh security rule ephemeral rather permanent.
make ssh
will allow ssh to a machine by altering security group rules to enable/disable ssh from the operator's machine IP.make remote-ssh
will open ssh rule temporarily to operator's machine IP so remote ssh can be used to view logs, uptime, load etc for troubleshooting.make open-ssh
andmake close-ssh
can be used to open or close port 22 to a machine, source from operator's IP.
This allows relatively securer operation without a bastion host yet.