jumaris / sshtunnel

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

can't connect to ssh host #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open app
2. connect host
3. fail

What is the expected output? What do you see instead?
It worked fine on previous version but fail to connect ssh host on v1.5.3

What version of the product are you using? On what operating system?
1.5.3

Please provide any additional information below.

Original issue reported on code.google.com by Frantic....@gmail.com on 10 Oct 2011 at 4:37

GoogleCodeExporter commented 8 years ago
I'm having the same issue. I can ssh -D8080 user@host from my laptop on the 
same wireless network and things work fine. SSHTunnel just says "Error: cannont 
connect to the host".

dropbear ssh on the tablet (Samsung Galaxy Tab) doesn't have the -D option but 
it *does* connect to the same host without issue.

Original comment by akohlsm...@gmail.com on 29 Nov 2011 at 3:00

GoogleCodeExporter commented 8 years ago
I found the issue. When entering the username the auto-completion tends to add 
a space at the end. e.g. "andrew" gets auto-completed as "andrew " (note 
trailing space). Erasing this space allows SSHTunnel to connect.

Original comment by akohlsm...@gmail.com on 29 Nov 2011 at 3:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

I have SSHTunnel installed on my Google Galaxy Nexus and I get the same error 
'can't connect to ssh host'.I checked the solution gave by Comment #2 but the 
username was correct. 

I use an SSH file stored in '/sdcard/sshtunnel/key' and with ConnectBot 
installed works normally reading the same file. 

If you need more information of the environment, please ask.

Thanks

MGA.

Original comment by spavilad...@gmail.com on 21 May 2012 at 2:24

GoogleCodeExporter commented 8 years ago
I have the same problem. 'Error: cannot connect to the host'.

Sshtunnel gets super user permissions then can't connect. I'm using an SSH key 
on a dd-wrt router which works fine with a variety of other machines. 

I'm not using a password but I've set the user name to 'root'.

Original comment by johnr67...@gmail.com on 28 Jun 2012 at 4:53

GoogleCodeExporter commented 8 years ago
Hi,
I am running an unlocked /rooted Nexus 7

Just wondered if there is any further trouble shooting for this issue the 
sshtunnel applications does not seem to read the shh "key" file stored in this 
directory (failed to connect / Error: cannot connect to the host)

/sdcard/sshtunnel/key

I have created a file called "key" containing my public sshkey using the 
OpenSSH format and placed if in the /sdcard/sshtunnel/ directory

As soon as I flick the ssh password login back on in the router (ddwrtv24)it 
connects no problem, and I know connectbot connects fine using this key.

Am I missing some thing obvious?

Thanks

Original comment by Electron...@gmail.com on 13 Aug 2012 at 8:49

GoogleCodeExporter commented 8 years ago
If anybody's still using this, I just solved this for myself.  You NEED to make 
sure you're using an openssh private key format.  The easiest way to do that is 
with puttygen, and then at the top menu, click Conversions > Export openssh 
key.  Then import that key using sshtunnel.

Original comment by andrew.s...@gmail.com on 15 Aug 2012 at 5:25

GoogleCodeExporter commented 8 years ago
Comment 7 owner. Thank you. Nice, simple and solved my issue.

Original comment by Electron...@gmail.com on 16 Aug 2012 at 9:32

GoogleCodeExporter commented 8 years ago
clear data in apps manager, set account and login, and accept new key from the 
server.

Original comment by kexianbin@diyism.com on 10 Dec 2014 at 6:27