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

asked 9 months ago303 views
2 Answers
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
answered 9 months ago
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
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions