> For the complete documentation index, see [llms.txt](https://help.goorm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.goorm.io/ko/goormide/07.-faq/ssh-port-forwarding-configuration.md).

# SSH / 포트포워딩 설정 방법

SSH / 포트포워딩 기능을 이용하여 외부에서 구름IDE의 컨테이너로 접근할 수 있습니다.

### SSH 설정 <a href="#ssh-configuration" id="ssh-configuration"></a>

**SSH 기능은 멤버십 구독 후에 사용하실 수 있습니다.**&#x20;

외부에서 구름IDE 컨테이너에 SSH 접속을 할 수 있습니다. \
상단 메뉴 **\[컨테이너]** → **\[SSH 설정]**&#xC744; 눌러 \[SSH 설정] 팝업 창을 엽니다.

![](/files/-LwMlmF6RNmPcAP0KKry)

명령어 오른쪽의 복사 아이콘을 클릭한 뒤 자신의 로컬 환경 또는 기타 외부 인스턴스의 쉘에서 붙여넣기를 합니다.

![](https://grm-project-template-bucket.s3.ap-northeast-2.amazonaws.com/lesson/les_aYlGX_1518075195722/cf32352cb98e2b0c3f15b4b82d348d80271c121cd3ea1a950c52f27c731573c3.png)

그 후 비밀번호를 입력합니다. \
최초 접속인 경우 **`발급`** 버튼을 눌러 비밀번호를 생성해 주세요. \
오른쪽의 복사 아이콘을 클릭하여 복사한 뒤 SSH 접속하려는 쉘에서 붙여 넣습니다.

발급되는 비밀번호는 어디에도 저장되지 않습니다.

![](/files/-LwMlhjJ07cbCcFAsZ9y)

\
비밀번호는 한 번 발급받으면 이후 접속에서도 계속 사용할 수 있습니다. \
기억이 나지 않을 때는 다시 발급받아 사용하면 됩니다.

**SSH 접속 IP와 포트는 해당 구름IDE 컨테이너가 꺼졌다 켜질 때마다 바뀝니다.** \
**SSH 접속은 구름IDE 컨테이너가 켜져 있는 동안에만 가능합니다.**

###

### 포트포워딩 설정(Port Forwarding)

구름IDE 컨테이너의 특정 포트를 개방하여 외부에서 접근할 수 있도록 할 수 있습니다. \
상단 메뉴 **\[컨테이너]** → **\[포트포워딩 설정]**&#xC744; 눌러 **\[포트포워딩 설정]** 팝업 창을 엽니다.

![](/files/-LwMmA9O9ZlI2jOWy_Gu)

개방하려는 포트를 '내부 포트'에 직접 입력하여 등록할 수 도 있고 '유형'에서 선택하여 선택한 서비스의 default 포트를 등록할 수 도 있습니다. \
등록된 포트는 하단 테이블에서 확인할 수 있게 됩니다.

![](/files/-LwMmW9v_D9Bl5YnEZde)

'IP'와 '외부 포트'를 이용하여 외부에서 접근하시면 됩니다. \
'IP'와 '외부 포트'는 해당 구름IDE 컨테이너가 꺼졌다 켜질 때 마다 바뀝니다.

포트포워딩 설정은 컨테이너당 2개까지 등록할 수 있습니다.&#x20;

**구름IDE 컨테이너가 켜져있는 동안에만 외부에서의 접근이 가능합니다.**<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.goorm.io/ko/goormide/07.-faq/ssh-port-forwarding-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
