2014-01-23 12 views
0

저는 모든 네트워크와 관련된 새내기이며 다른 서버 (터널)를 통해 원격 클라이언트에 액세스하려고합니다. 예를 들어 사용자 이름 user2와 password2를 사용하는 원격 클라이언트 11.11.111.111 , 사용자 이름 user1 및 password1로 11.11.10.01을 통한 터널SSH는 터널을 통해 원격 클라이언트에 액세스합니다.

주소 터널 주소를 성공적으로 ping 할 수 있습니다. 하지만 난 Cygwin에서를 사용하여 원격 클라이언트에 액세스하려고 할 때 :

OpenSSH_6.4, OpenSSL 1.0.1f 6 Jan 2014 
debug2: ssh_connect: needpriv 0 
debug1: Executing proxy command: exec ssh -vv [email protected] nc 11.11.111.111 22 
debug1: permanently_drop_suid: 146765 
debug1: identity file /home/user1/.ssh/id_rsa type -1 
debug1: identity file /home/user1/.ssh/id_rsa-cert type -1 
debug1: identity file /home/user1/.ssh/id_dsa type -1 
debug1: identity file /home/user1/.ssh/id_dsa-cert type -1 
debug1: identity file /home/user1/.ssh/id_ecdsa type -1 
debug1: identity file /home/user1/.ssh/id_ecdsa-cert type -1 
debug1: Enabling compatibility mode for protocol 2.0 
debug1: Local version string SSH-2.0-OpenSSH_6.4 
OpenSSH_6.4, OpenSSL 1.0.1f 6 Jan 2014 
debug2: ssh_connect: needpriv 0 
debug1: Connecting to 11.11.10.01 [11.11.10.01] port 22. 
debug1: connect to address 11.11.10.01 port 22: Connection timed out 
ssh: connect to host 11.11.10.01 port 22: Connection timed out 
ssh_exchange_identification: Connection closed by remote host 

내 명령이 정확 원인에 대한 아이디어 :

ssh -vv -o 'ProxyCommand ssh -vv [email protected] nc %h %p' [email protected] 

을 나는이 오류가?

내 컴퓨터에서 서버 및 원격 클라이언트가 아닌 문제를 해결할 수있는 방법이 있습니까?

+0

11.11.10.01에 nc가 설치되어 있습니까? –

+0

내가 액세스 할 수 없으며 확인할 수 있습니까? 원격으로 알 수있는 방법이 있습니까? –

+0

'ssh user1 @ 11.11.10.01'로 연결할 수 있습니까? –

답변

1

나는 단지 부분적인 대답이라고 생각하지만 함께 11.11.10.01에 SSH로 연결을 시도 : 다음 다른 창에서 연결

ssh [email protected] -L20022:11.11.111.111:22

를 통해 :

ssh [email protected] -p20022

에서 그런 식으로 첫 번째 터미널 창에서 오류가 발생합니다.