Sysax Product Forums / Sysax FTP Automation / Bugs and Feature Requests / OS X Client Fails
Posted:  07 Nov 2008 07:02
I'm evaluating your product. I installed and configured Sysax sshd on XP. SSH works from a Linux Box. SSH is failing from OS X
Here is the dubugging output
Thanks!
10:36:24 PM: [NOTE] FTP server started - listening on port 22
10/09/2008 10:36:24 PM: [NOTE] Browser based administration interface started
10/09/2008 10:36:35 PM: [NOTE] Connection (10.211.55.2) logged into windows account don
10/09/2008 10:36:37 PM: [NOTE] Connection from 10.211.55.2 disconnected
10/09/2008 10:36:43 PM: [WARN] Connection from 10.211.55.2 rejected - windows authentication failed for user don
10/09/2008 10:36:45 PM: [NOTE] Connection (10.211.55.2) logged into windows account don
10/09/2008 10:36:45 PM: [FAIL] An error occured during key exchange unrecognizable run req
10/09/2008 10:36:45 PM: [NOTE] Connection from 10.211.55.2 disconnected
10/09/2008 10:36:53 PM: [WARN] Connection from 10.211.55.2 rejected - windows authentication failed for user don
10/09/2008 10:36:55 PM: [NOTE] Connection (10.211.55.2) logged into windows account don
10/09/2008 10:36:55 PM: [FAIL] An error occured during key exchange unrecognizable run req
10/09/2008 10:36:55 PM: [NOTE] Connection from 10.211.55.2 disconnected

rift:~ don$ ssh 10.211.55.4
ssh: connect to host 10.211.55.4 port 22: Connection refused

rift:~ don$ ssh 10.211.55.4
don@10.211.55.4's password:
Received disconnect from 10.211.55.4: 2: disconnecting
rift:~ don$ ssh -vv 10.211.55.4
OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /Users/don/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.211.55.4 [10.211.55.4] port 22.
debug1: Connection established.
debug1: identity file /Users/don/.ssh/identity type -1
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug2: key_type_from_name: unknown key type '-----END'
debug1: identity file /Users/don/.ssh/id_rsa type 1
debug1: identity file /Users/don/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version SysaxSSH_1.0
debug1: no match: SysaxSSH_1.0
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: zlib,none
debug2: kex_parse_kexinit: zlib,none
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 109/256
debug2: bits set: 1034/2048
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '10.211.55.4' is known and matches the RSA host key.
debug1: Found key in /Users/don/.ssh/known_hosts:14
debug2: bits set: 1025/2048
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /Users/don/.ssh/identity (0x0)
debug2: key: /Users/don/.ssh/id_rsa (0x103220)
debug2: key: /Users/don/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/don/.ssh/identity
debug1: Offering public key: /Users/don/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/don/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
don@10.211.55.4's password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
Received disconnect from 10.211.55.4: 2: disconnecting
rift:~ don$
Posted:  07 Nov 2008 07:06   Last Edited By: sysaxsupport
What version of OS X are you using? This looks very similar to a problem we have seen before.



------------------------------------------------
Managed File Transfer Solutions!
Posted:  07 Nov 2008 07:09
I'm using OS X 10.5.5. I have a few other macs running older version of 10.5 and 10.3 which I haven't tried yet.
Hopefully there's some flags we can pass to ssh to make it work? Let me know what we need to do track this down.
Thanks!
Posted:  07 Nov 2008 07:12   Last Edited By: sysaxsupport
We have a new product update that should make the server more compatible with older ssh2 clients. You can download this from the sysax.com website. Hopefully this should resolve the connection problem that you are seeing.



------------------------------------------------
Automate FTP using Secure File Transfer
Posted:  07 Nov 2008 07:17
I uninstalled the existing version and download and installed 4.3 RC4.
I am experiencing a similar problem as before, I can't log in from OS X 10.5.5
I *am* able to log in with putty from windows
I *am* able to log in from an old version of ssh on SuSE 10.0
OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005

Is there an ssh option I can try in OX?

rift:~ don$ ssh -v 10.211.55.4
OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /Users/don/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 10.211.55.4 [10.211.55.4] port 22.
debug1: Connection established.
debug1: identity file /Users/don/.ssh/identity type -1
debug1: identity file /Users/don/.ssh/id_rsa type 1
debug1: identity file /Users/don/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version SysaxSSH_1.0
debug1: no match: SysaxSSH_1.0
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '10.211.55.4' is known and matches the RSA host key.
debug1: Found key in /Users/don/.ssh/known_hosts:14
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/don/.ssh/identity
debug1: Offering public key: /Users/don/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/don/.ssh/id_dsa
debug1: Next authentication method: password
don@10.211.55.4's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
Received disconnect from 10.211.55.4: 2: disconnecting

10/20/2008 08:03:02 PM: [NOTE] FTP server started - listening on port 22
10/20/2008 08:03:02 PM: [NOTE] Browser based administration interface started
10/20/2008 08:03:18 PM: [NOTE] Connection (10.211.55.2) logged into
windows account don
10/20/2008 08:03:18 PM: [FAIL] An error occured during key exchange
unrecognizable run req
10/20/2008 08:03:18 PM: [NOTE] Connection from 10.211.55.2 disconnected

If it would help you to have access to a machine running OS X 10.5.5, let me know and I can set you up with an account to ssh into a machine for testing.
Posted:  07 Nov 2008 07:20
Is it okay to ship you a debug version of the server? That way, you can simply send us back the debug log of the connection problem.
Posted:  07 Nov 2008 07:23
That would be great.
Posted:  07 Nov 2008 07:28   Last Edited By: sysaxsupport
You can download a debug version of the server daemon
After unzipping, stop the server, rename the sysaxservd.exe executable in the installation folder to something else and place the debug version of sysaxservd.exe into the installation folder.
Restart the server and try to connect. Since this is going to run as a windows service, the debug log file will be generated in your windows\system32 folder as Oct_24_2008_12_00_28_debuglog.txt. Please send us this debug log file and the server log.
 

Copyright © 2021 Codeorigin, LLC - All Rights Reserved.
XML RSS 2.0 XML Atom 1.0