443(SSL)이 차단된 http 프록시를 통한 SSH 터널

443(SSL)이 차단된 http 프록시를 통한 SSH 터널

https 액세스가 거부되면 http-proxy를 통해 SSH 터널을 생성할 수 있습니까?

.ssh\config에 그러한 구성이 있었습니다.

Host home
User root
Hostname *my-home-pc-with-ssh-access-allowed*
Port 8090
ProxyCommand corkscrew db-isa-01 8080 %h %p ~/.ssh/.corkscrew-db-isa-auth
IdentityFile ~/.ssh/id_rsa

db-isa-01은 내 회사 프록시 서버입니다. 오늘 관리자는 모든 https 액세스를 차단하고 화이트리스트에 있는 소수의 서버에만 허용했습니다.

이 명령을 사용하여 터널을 만들었습니다.

ssh -D 7070 -o 'GatewayPorts yes' -A -q -g -t  root@home

이제는 작동하지 않습니다. 내가 이해할 수 있듯이 이는 우리 프록시가 모든 https 연결을 거부하기 때문입니다.

Proxy could not open connnection to ***:  Proxy Error ( The specified
Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to 
allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  )

PS 저는 Windows 7을 사용하고 cygwin과 함께 corscskrew를 사용하므로 Linux 솔루션은 저에게 적합하지 않습니다.

답변1

당신은 따라갈 수 있습니다이 가이드그리고 사용http터널HTTP 요청에서 SSH 연결을 터널링합니다. Win32 바이너리를 사용할 수 있습니다여기.

관련 정보