Jin's Dev Story

[AWS] EC2 서버 접속해보기 본문

SERVER/AWS

[AWS] EC2 서버 접속해보기

woojin._. 2024. 6. 13. 14:39

윈도우 기준

1. 응용 프로그램 다운로드

https://www.putty.org/

 

Download PuTTY - a free SSH and telnet client for Windows

Is Bitvise affiliated with PuTTY? Bitvise is not affiliated with PuTTY. We develop our SSH Server for Windows, which is compatible with PuTTY. Many PuTTY users are therefore our users as well. From time to time, they need to find the PuTTY download link. W

www.putty.org

  • Download PuTTY 클릭 → Package files에서 MSI 중 컴퓨터 Bit에 맞는거 다운

2. 접속하기

  • PuTTY 프로그램 실행

  • AWS 인스턴스 페이지로 돌아와서 파란 글씨의 인스턴스 ID 클릭

  • 퍼블릭 IPv4 DNS 주소 복사

  • Host Name 칸에 붙여넣기

  • Connection → SSH → Auth → Credentials 접속해서 첫번째 Private key file for authentication: 에 생성한 페어키 등록
  • 그 다음 Saved Sessions 바로 아래 칸에 이름 지어주고 Save
  • ⇒ 이러면 다음부터는 그냥 Load 눌러서 접속하면 됨.
  • ⇒ 단, 페어키 파일의 위치가 바뀌면 다시 설정하고 저장해야 하니 주의
  • 새로 뜨는 콘솔창에 ubuntu라고 입력하면

  • 접속 완료