How to change default SSH Port for Connect on Lightsail Management Console

0

For security reasons, I have changed the SSH port from 22 to some different port and have opened up both my Lightsail server firewall as well as the IPv4 Firewall on the Lightsail instance console. And, I can successfully connect via SSH to my server over that different port.

How can I change the default port of 22 on the Lightsail Management console CONNECT command? When I go to add a rule for SSH it hard codes the value of 22 and I can't seem to find a way to change it.

Enter image description here

TIA

demandé il y a 9 mois318 vues
2 réponses
0

Hello.
As for browser-based SSH from Lightsail's management console, I don't think we users can change it as it is managed by AWS.

profile picture
EXPERT
répondu il y a 9 mois
0

Hi Ramsay_E,

Unfortunately you cannot change the port used by the Lightsail CONNECT service (i.e. our Lightsail console browser-based SSH will only try to connect on port 22 to the instance).

Thank you for this feedback though!

profile pictureAWS
EXPERT
AWS-SUM
répondu il y a 9 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions