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

質問済み 9ヶ月前318ビュー
2回答
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
エキスパート
回答済み 9ヶ月前
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
エキスパート
AWS-SUM
回答済み 9ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ