thefoggycity / sshtunnel

Automatically exported from code.google.com/p/sshtunnel
GNU General Public License v3.0
0 stars 0 forks source link

Cannot connect to host. #154

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configure SSH Tunnel with 2048 bit RSA key.
2. Start Service. Get connection failed error.

What is the expected output? What do you see instead?
I expect to connect to my ssh server for the purpose of tunneling. What happens 
is the connection fails.

What version of the product are you using? On what operating system?
SSH Tunnel Beta (1.8.0) I have tried this with the non-beta version also.

Please provide any additional information below.

D/su      (23306): 10107 org.sshtunnel.beta executing 0 /system/bin/sh using 
shell /system/bin/sh : sh
D/SSHTunnel(21618): FIX ME! implement getprotobyname() 
bionic/libc/bionic/stubs.c:478
D/SSHTunnel(21618): /data/data/org.sshtunnel.beta/iptables -t nat -D OUTPUT -p 
udp --dport 53 -j REDIRECT --to-ports 8153
D/su      (23351): 10107 org.sshtunnel.beta executing 0 /system/bin/sh using 
shell /system/bin/sh : sh
E/SSHTunnel(21618): Service Start
D/SSHTunnel(21618): Host IP: xxx.xxx.xxx.xxx
E/SSHTunnel(21618): /data/data/org.sshtunnel.beta/ssh.sh local 22 1984 
127.0.0.1 3128 webproxy xxx.xxx.xxx.xxx
D/SSHTunnel(21618): Connecting start
D/SSHTunnel(21618): /data/data/org.sshtunnel.beta/iptables -t nat -D OUTPUT -p 
udp --dport 53 -j REDIRECT --to-ports 8153
D/su      (23422): 10107 org.sshtunnel.beta executing 0 /system/bin/sh using 
shell /system/bin/sh : sh
D/SSHTunnel(21618): /data/data/org.sshtunnel.beta/proxy_http.sh stop
D/su      (23467): 10107 org.sshtunnel.beta executing 0 /system/bin/sh using 
shell /system/bin/sh : sh
D/SSHTunnel(21618): killall -9 sshtunnel
E/CMWRAP->DNSServer(21618):     at 
org.sshtunnel.beta.DNSServer.run(DNSServer.java:498)
D/SSHTunnel(21618): Connecting finish

Server logs:
Dec 11 19:48:08 wallace sshd[12640]: Accepted publickey for webproxy from 
xxx.xxx.xxx.xxx port 34711 ssh2
Dec 11 19:48:08 wallace sshd[12640]: pam_unix(sshd:session): session opened for 
user webproxy by (uid=0)
Dec 11 19:48:14 wallace sshd[12640]: pam_unix(sshd:session): session closed for 
user webproxy

Original issue reported on code.google.com by hay.st...@gmail.com on 12 Dec 2012 at 12:49

GoogleCodeExporter commented 8 years ago
Update to this issue. I tried the version here, and not the one on the market 
and it worked. It appears the market has an old version of the beta.

Original comment by hay.st...@gmail.com on 12 Dec 2012 at 12:54