2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
répondu il y a un an
0
Hi
If you would like to change the port of the Lighsail instance, You can do that by using the following settings
-
SSH into the machine
-
Edit file /etc/ssh/sshd_config change #port
-
sudo service sshd restart
-
Then you need to allow PORT In the inbound rules from the Lightsail console
-
Remember Light sail WEB SSH works Only with default 22 port, So if you change the port you need to use any SSH client like putty or termius, Lightsail web ssh doesnt work
Thank You GK
Contenus pertinents
- Réponse acceptéedemandé il y a 2 ans
- demandé il y a un an
- demandé il y a un an
- demandé il y a 8 mois
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 3 ans
How come the related post to ssh not to change the port, i think your goal is to change the port and acess from the browser, So you are able to acess Lightsail from browser with different SSH port