ttyd 추가

This commit is contained in:
Jerry Chae committed 2026-05-21 17:41:48 +09:00
1 parent 4d8e423070
commit 575a20c753
6 files changed
+370 -1

No files matched your search

+35
View File
@@ -5,6 +5,7 @@
## 지원 도구
- [tmux](https://github.com/tmux/tmux) - 터미널 멀티플렉서
- [ttyd](https://github.com/tsl0922/ttyd) - 웹 기반 터미널 공유 유틸리티
- [bottom](https://github.com/ClementTsang/bottom) - 호스트 모니터링
- [superfile](https://github.com/yorukot/superfile) - 터미널 파일 관리자
- [dua](https://github.com/byron/dua-cli) - 디스크 사용량 분석기
@@ -24,6 +25,12 @@
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-tmux.sh?ref_type=heads" | bash
```
**ttyd:**
```bash
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-ttyd.sh?ref_type=heads" | bash
```
**bottom:**
```bash
@@ -99,6 +106,12 @@ curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-pi.s
powershell -ExecutionPolicy Bypass -c "[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; $t=\"$env:TEMP\install-tmux.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-tmux.ps1' -OutFile $t; & $t"
```
**ttyd:**
```powershell
powershell -ExecutionPolicy Bypass -c "[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; $t=\"$env:TEMP\install-ttyd.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-ttyd.ps1' -OutFile $t; & $t"
```
**bottom:**
```powershell
@@ -193,6 +206,28 @@ tmux ls # 세션 목록
> `install-tmux` 스크립트는 `.tmux.conf`를 홈 디렉토리에 자동 배포합니다. 기존 파일이 있으면 백업 후 덮어씁니다.
### ttyd
웹 브라우저를 통해 터미널을 접속할 수 있도록 해주는 유틸리티입니다. tmux 등과 연동하여 원격 모니터링/제어가 가능합니다.
- **터미널 웹 공유** — 특정 포트를 통해 쉘(bash/zsh 등) 또는 명령어 실행 화면을 웹에 호스팅
- **읽기 전용 모드** — 보안을 위해 웹 접속자가 터미널을 조작할 수 없도록 보기 전용 모드로 설정 가능
- **인증 설정** — 웹 접속 시 사용자 이름과 비밀번호를 검증하도록 설정 가능
```bash
ttyd bash # 기본 bash 쉘을 웹(기본 포트 7681)에 호스팅
ttyd tmux attach # 현재 실행 중인 tmux 세션을 웹에 연동
ttyd -p 8080 zsh # 포트 8080을 사용하여 zsh 호스팅
ttyd -c user:pass bash # 아이디/패스워드 로그인 설정
```
| 옵션 | 설명 |
| --------------------- | ------------------------------------ |
| `-p, --port <port>` | 사용할 네트워크 포트 지정 (기본 7681)|
| `-i, --interface <if>`| 바인딩할 네트워크 인터페이스 |
| `-c, --credential <u:p>`| 웹 접속 인증용 사용자 계정 정보 |
| `-R, --readonly` | 접속자가 터미널을 입력할 수 없는 모드|
### bottom
호스트 모니터링 터미널 UI 도구입니다.