suripaleru / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Need to add "keyboard-interactive" authentication method #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Download connectbot and install it on a G1 system.

2. set up a connection to a FreeBSD system.

3. watch blank screen for a while, wait for app to crash.

Original issue reported on code.google.com by robotsl...@gmail.com on 22 Oct 2008 at 10:29

GoogleCodeExporter commented 8 years ago
Any ETA on this?  All of my machines are FreeBSD based.

Original comment by daven...@gmail.com on 22 Oct 2008 at 6:25

GoogleCodeExporter commented 8 years ago
I can press enter and receive a password prompt but password is never accepted. 
Also
running FreeBSD system.

Original comment by joseph.g...@gmail.com on 22 Oct 2008 at 7:37

GoogleCodeExporter commented 8 years ago
I just downloaded and tried it and I get: 

The authenticity of host 'io.com' can't be established.

Trying to authenticate

and then hangs.  (You can try it yourself: the location is io.com:22)

Thanks.

Original comment by dannya...@gmail.com on 22 Oct 2008 at 9:43

GoogleCodeExporter commented 8 years ago
More details.  When I use putty, I get:

login as: [my-own-user-name]
Using keyboard-interactive authentication.
Password: 
Last login: Wed Oct 22 16:38:20 2008 from 12.31.188.98
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 6.3-STABLE (GENERIC) #2: Sat Feb 16 18:48:27 CST 2008

Original comment by dannya...@gmail.com on 22 Oct 2008 at 9:45

GoogleCodeExporter commented 8 years ago
I get the same error running a Linux box. It looks like it's hanging waiting 
for a
response from the server. If I type in my password, it tells me authentication
failed, then gives me a 'Password:' prompt, but it never accepts the password I 
give,
nor does my server leave any trace that I tried to connect.

Original comment by christopher.mccurdy on 23 Oct 2008 at 12:29

GoogleCodeExporter commented 8 years ago
It looks like the server is only accepting "keyboard-interactive" and not 
"password"
 You can verify this by using "ssh -v [hostname]" with OpenSSH. As a work-around, you
can enable "PasswordAuthentication yes" (on OpenSSH; others will have something
similar) for now until this is fixed.

Original comment by kenny@the-b.org on 23 Oct 2008 at 3:15

GoogleCodeExporter commented 8 years ago
Is there any idea on when this will be fixed?

Original comment by young...@gmail.com on 23 Oct 2008 at 6:03

GoogleCodeExporter commented 8 years ago
I was having an issue entering my password, but I figured out that typing 
uppercase 
letters works differently in the terminal than in other Android apps. You have 
to 
hold down alt or shift and press the button simultaneously like you are using a 
computer keyboard in order to type symbols and uppercase letters. Anyone who is 
experiencing this issue should be aware of this quirk, it might actually be 
causing 
you to type a case-sensitive password in all lowercase.

Original comment by electric...@gmail.com on 23 Oct 2008 at 6:32

GoogleCodeExporter commented 8 years ago
At org/connectbot/service/TerminalBridge.java:161 there needs to be some error 
that
pops up if no authentication methods are possible.

Jeffrey, could you put something that lets the user know that authentication 
wasn't
possible and terminates the connection? Listing out the possible authentication 
types
for the client and the server would be good in this error message.

Original comment by kenny@the-b.org on 23 Oct 2008 at 7:12

GoogleCodeExporter commented 8 years ago
Okay, I added keyboard-interactive in r76. Could some people test it on their 
devices
and report how it works?

Original comment by kenny@the-b.org on 25 Oct 2008 at 2:27

GoogleCodeExporter commented 8 years ago
Works great for me. Thanks!

Original comment by joseph.g...@gmail.com on 25 Oct 2008 at 2:43

GoogleCodeExporter commented 8 years ago
Woo! Works for me.

Original comment by Christia...@gmail.com on 25 Oct 2008 at 2:45

GoogleCodeExporter commented 8 years ago
Actually, I might have a problem. If I type "exit" to logout, it tells me 
logout and
just sits there. It looks like I can't even disconnect from the menu now, and 
it just
sits there sorta hung. Since it never recognizes the disconnect, I'm not able to
connect again.

Original comment by Christia...@gmail.com on 25 Oct 2008 at 2:51

GoogleCodeExporter commented 8 years ago
Correction, I can disconnect from the session, but not from the main menu. So I 
guess
it's unrelated to keyboard-interactive.

Original comment by Christia...@gmail.com on 25 Oct 2008 at 2:52

GoogleCodeExporter commented 8 years ago
Works for me, thank you!

Original comment by sanforda...@gmail.com on 25 Oct 2008 at 3:11

GoogleCodeExporter commented 8 years ago
Ouch.  The fact that this app breaks the UI (SHIFT and ALT work differently) is
EVIL... it needs to be in big neon letters somewhere.  If I hadn't stumbled 
across
this entry by accident, I'd still be trying to enter my password.

Original comment by tyler.st...@gmail.com on 25 Oct 2008 at 4:30

GoogleCodeExporter commented 8 years ago
lol be careful with your "evil" label--it probably just isnt fixed yet.

however, are you using the latest svn that has a password textfield at the 
bottom of
the window?  we switched to using that for just this reason--it should 
automagically
behave just like any other password prompt on android.

Original comment by Jeffrey.Sharkey on 25 Oct 2008 at 4:36

GoogleCodeExporter commented 8 years ago
keyboard-interactive is working awesome!  thx kenny  :)

Original comment by Jeffrey.Sharkey on 25 Oct 2008 at 7:05