Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 마법의연금굴리기
- apollo-server-v3
- 티지아이포럼
- 여행
- deepseek
- schema-registry
- 강릉여행
- 저동하녹
- apollo-sandbox
- 트럼프2.0시대
- 루스틱
- 가람집옹심이
- 프로젝트헤일메리
- Zone2
- 런데이
- 한국걱정
- 잘쉬어야지
- 이코노미스트한국구독센터
- 여니브레드
- 런데이애플워치
- neovim
- 플라스틱은 어떻게 브랜드의 무기가 되는가
- 달리기
- lner
- 오운완
- 송고버섯피자
- 일권하는사회
- kafka-connect
- 마연굴
- 중사랑
Archives
- Today
- Total
해뜨기전에자자
ssh proxy, ssh local fowarding 본문
임의로 98765 포트에 proxy용 ssh server을 띄운다.
/etc/ssh/sshd_config
Port 22
Port 98765
GatewayPorts yes
PermitTunnel yes
AllowTcpForwarding yes
재시작
sudo service sshd restart
local machine:~/.ssh/config
Host ssh-proxy-server
User {username}
GSSAPIAuthentication yes
StrictHostKeyChecking no
Host !ssh-proxy-server *
User {username}
StrictHostKeyChecking no
GSSAPIAuthentication yes
ForwardAgent yes
ProxyCommand ssh -W %h:%p ssh-proxy-server -p 98765 %h -p %p
ssh local fowarding
ssh -L {local port}:{remote server}:{remote port} {ssh-proxy-server}
ex: ssh -L 18032:remote-server:80 ssh-proxy-server
'개발 > linux & tools' 카테고리의 다른 글
container 간단히 (0) | 2019.01.17 |
---|---|
systemd initd (0) | 2018.11.25 |
haproxy vs nginx? (0) | 2018.05.16 |
route private network (0) | 2018.03.20 |
adduser 와 useradd (0) | 2017.10.30 |