abdojobs / sshtunnel

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

SSH Tunnel fails to connect with a key to CYGWIN SSHD," sends ssh-connection method non" #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Setup Cygwin SSHD 
(http://www.howtogeek.com/howto/41560/how-to-get-ssh-command-line-access-to-wind
ows-7-using-cygwin/)
2. place key file with private key on sdcard
3. setup connection, selecting the private key file

What is the expected output? What do you see instead? I expect to see the 
connection complete and entries in the sshd log like this:

userauth-request for user USERNAME service ssh-connection method publickey

What version of the product are you using? On what operating system?
sshtunnel-1.5.2beta.apk, CyanogenMod 7 RC1, Nexus One GSM

Please provide any additional information below.
Attached is the logcat output as well as copy of my sshd.log

Original issue reported on code.google.com by diverg...@gmail.com on 27 Jun 2011 at 9:02

Attachments:

GoogleCodeExporter commented 8 years ago
Please help to test 1.5.4beta.

Thx~

Original comment by max.c...@gmail.com on 1 Jul 2011 at 8:14

GoogleCodeExporter commented 8 years ago
Just tested and it's working great! I connected with an RSA password protected 
2048 key file with no issues. One thing you may want to add to your 
instructions is when using a key file it must end in .rsa or .dsa, otherwise 
the application doesn't seem to use it. they may have been implied by an 
openssh formatted file, but I assumed that was in reference to the content 
rather than the naming convention.

Original comment by diverg...@gmail.com on 1 Jul 2011 at 2:28

GoogleCodeExporter commented 8 years ago

Original comment by max.c...@gmail.com on 4 Jul 2011 at 2:40

GoogleCodeExporter commented 8 years ago
I have a 2048 bit RSA private key file which I generated in VX Connectbot. When 
I use it to connect to my ssh server with VX Connectbot, it works. When I use 
the same key file in sshtunnel, it does not. I know the problem is related to 
the key file, as password authentication works on the same server using 
sshtunnel. 

What is the expected format of the private key?

Any help is appreciated. 

Original comment by ch...@rennerfamily.org on 17 Dec 2012 at 1:36