Problem when access ssh server under proxy
I have a ssh server expose on the internet, and I can ssh it when I am in home(which my home network is directly connect to the internet by ADSL).
When I am in the office, the network for access internet is under a proxy(which likes "xxx.xxx.xxx.xxx 8080"), and what i did is: 1. Install the corkscrew, 2. ceate the ~/.ssh/config file like: Host * ProxyCommand corkscrew xxx.xxx.xxx.xxx 8080 %h %p 3. ssh -vvv my.ssh-server.com But unfortunately the connect is failed with this debug info: test@test-laptop:~/.ssh$ ssh -vvv server@xxx.xxx.xxx.xxx OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /home/test/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Executing proxy command: exec corkscrew xxx.xxx.xxx.xxx 8080 xxx.xxx.xxx.xxx 22 debug1: permanently_drop_suid: 1000 debug1: identity file /home/test/.ssh/identity type -1 debug1: identity file /home/test/.ssh/id_rsa type -1 debug1: identity file /home/test/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host Anybody knows what the problem ??? |
That last line of the error makes me think it has something to do with the host key. What authentication mode are you in, you might need to copy your key to the allowed hosts file.
|
All times are GMT -5. The time now is 09:54 PM. |