Cannot access EC2 Instance by ssh

0

Hi all,

I have an question after i change my sshd_config on my ec2 instance and reboot machine after that i cannot access again i tried with port 22 and 1982 also but still appear issue connection refuse please let me know how could i access to my instance

alexanh
질문됨 일 년 전274회 조회
2개 답변
0

Maybe for some of the reason of these changes sshd failed to start.

Did you considered use system manager for access?

profile picture
답변함 일 년 전
0

Hi aelexanh. Do you mean you changed the SSH port from the default port (22) to 1982? If so, did you also update the inbound rules of the security group for your EC2 instance? Remove the "SSH" type rule (with TCP port range 22), and add a new "Custom TCP" type rule with port range 1982 and the appropriate source.

profile pictureAWS
jbt
답변함 일 년 전

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

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

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

관련 콘텐츠