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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠