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

gefragt vor 9 Monaten318 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 9 Monaten
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
EXPERTE
AWS-SUM
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen