hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem authenticating with SSH host

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP
View previous topic :: View next topic  
Author Message
ComHem_ITSupport



Joined: 19 Jan 2007
Posts: 16

PostPosted: Wed Sep 19, 2007 6:14 am    Post subject: Problem authenticating with SSH host Reply with quote

I have trouble authenticating with a SSH host with user/password and private/public key authentication.

When using user/password and the checkbox "Use pub/pvt key authentication" checked I get:

Quote:

Sep 19, 2007 3:33:51 PM
Connecting to SSH2/SFTP Profile : BLABLABLA
Sep 19, 2007 3:33:51 PM
Maximum Channels = 100
Sep 19, 2007 3:33:51 PM
Maximum packet length = 131072
Sep 19, 2007 3:33:51 PM
Preferred cipher method = aes128-cbc
Sep 19, 2007 3:33:51 PM
Preferred compression method = none
Sep 19, 2007 3:33:51 PM
Preferred message authentication method = hmac-sha1
Sep 19, 2007 3:33:51 PM
Preferred public key algorithm = ssh-dss
Sep 19, 2007 3:33:51 PM
Preferred key exchange method = diffie-hellman-group1-sha1
Sep 19, 2007 3:33:51 PM
Firewall Profile = All.none
Sep 19, 2007 3:33:51 PM
Firewall Type =
Sep 19, 2007 3:33:54 PM
Remote Host Identification = SSH-2.0-XFB.Gateway Unix
Sep 19, 2007 3:33:54 PM
Authenticating user BLABLABLA
Sep 19, 2007 3:33:54 PM
Using private/public key authentication with private file = = /opt/hitek7/cert/BLABLABLA.key
Sep 19, 2007 3:33:54 PM
ssh disconnect host not allowed to connect [Unknown cause]


The log file at the SSH host says that the password is missing:
Quote:

SECS106I 19.09.2007 16:46:16 Server(351) Net profile SSH_BLABLABLA00_RSA selected [src_add="123.123.123.123/24627"] [dest_add="123.123.123.123/22"].

SECS111I 19.09.2007 16:46:16 Server(351) SSH profile SSH_PWD_OR_KEY_SERVER_RSA selected .

NET103I 19.09.2007 16:46:16 (352) incoming connection response [resp_add=""].

SECS115I 19.09.2007 16:46:16 Server(351) RSA signature achieved with private key BLABLABLA_PRIVATE_RSA.

PCNX003I 19.09.2007 16:46:16 (23069023) SFTP Connection Request Received .

PCNX004I 19.09.2007 16:46:16 (23069023) calling addr="123.123.123.123/24627", called_addr="123.123.123.123/22" .

PCNX004I 19.09.2007 16:46:16 (23069023) login="BLABLABLA", pwd="" .

PCNX001I 19.09.2007 16:46:16 (23069023) CGate BLABLABLA selected.

PCNX002E 19.09.2007 16:46:16 (23069023) Connection Failure, reason : Invalid SFTP Login Password .

SECS129E 19.09.2007 16:46:16 Server(351) User BLABLABLA login refused (public key method), [reason 213].

Looks like JaSFtp doesnīt send the password for some reason.

When the admin of the SSH host change the password to blank password and I change this in JaSFtp I get "authentication completed" but it looks like the app crashes?!? (java.io.EOFException)

Quote:

Sep 19, 2007 3:54:39 PM
Connecting to SSH2/SFTP Profile : BLABLABLA

Sep 19, 2007 3:54:39 PM
Maximum Channels = 100

Sep 19, 2007 3:54:39 PM
Maximum packet length = 131072

Sep 19, 2007 3:54:39 PM
Preferred cipher method = aes128-cbc

Sep 19, 2007 3:54:39 PM
Preferred compression method = none

Sep 19, 2007 3:54:39 PM
Preferred message authentication method = hmac-sha1

Sep 19, 2007 3:54:39 PM
Preferred public key algorithm = ssh-dss

Sep 19, 2007 3:54:39 PM
Preferred key exchange method = diffie-hellman-group1-sha1

Sep 19, 2007 3:54:39 PM
Firewall Profile = All.none

Sep 19, 2007 3:54:39 PM
Firewall Type =

Sep 19, 2007 3:54:39 PM
Remote Host Identification = SSH-2.0-XFB.Gateway Unix

Sep 19, 2007 3:54:39 PM
Authenticating user BLABLABLA

Sep 19, 2007 3:54:39 PM
Using private/public key authentication with private file = = /opt/hitek7/cert/BLABLABLA.key

Sep 19, 2007 3:54:39 PM
Authentication Completed

Sep 19, 2007 3:54:39 PM
java.io.EOFException



And their log file says everything is ok:

Quote:

SECS119I 19.09.2007 16:59:46 Server(353) RSA signature verification achieved with public key BLABLABLA00_PUBLIC_RSA.

SECS102S 19.09.2007 16:59:46 Server(353) Session established for user BLABLABLA, key exchange algo: dh-group1, public key algo: ssh-rsa, cipher algo: aes128-cbc, mac algo: sha1, no compression.

NET060I 19.09.2007 16:59:46 (354) session success.



Any ideas?
Help!
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Wed Sep 19, 2007 11:57 am    Post subject: Reply with quote

1) What type of SFTP server is this?

2) which version of JaSFTP are you using?

3) Send us your support files using the help menu / email support generator.
Back to top
View user's profile Send private message
ComHem_ITSupport



Joined: 19 Jan 2007
Posts: 16

PostPosted: Thu Sep 20, 2007 4:47 am    Post subject: Reply with quote

1) The SSH host is running an application called "XFB"
The supplier is Axway: www.axway.com

2) Running JaSFtp 7.34

3) Sent support files
I didnīt really have a job yet, just had a profile and tried connecting to the host manually, so I created a testjob because it was required in the email support generator.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Fri Sep 21, 2007 9:01 am    Post subject: Reply with quote

If possible, please setup a test account on that server for us to test against.

Then Send us the Server IP,test account username and password via email.
Back to top
View user's profile Send private message
ComHem_ITSupport



Joined: 19 Jan 2007
Posts: 16

PostPosted: Mon Sep 24, 2007 1:17 am    Post subject: Reply with quote

Im checking if they can set up a test account...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group