Question:
Just tested with Chilkat-9.3.2-IOS-6.0. SSH and SFTP connections fail on the device. They work on the simulator. Below is the error log from the device.
Sep 19, 2012 12:13:46 PM - TRAN Established TCP/IP connection with SSH server TRAN> SSH-2.0-PuTTY_Local:_May_14_2009_21:12:18 TRAN< SSH-2.0-OpenSSH_4.3 TRAN> KEXINIT TRAN< KEXINIT TRAN Key Algorithms: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 TRAN Host Key Algorithms: ssh-rsa,ssh-dss TRAN Out Encryption: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se TRAN In Encryption: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se TRAN Out MAC: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 TRAN In MAC: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 TRAN Out Compress: none,zlib@openssh.com TRAN In Compress: none,zlib@openssh.com TRAN> KEX_DH_GEX_REQUEST TRAN< KEX_DH_GEX_GROUP/KEXDH_REPLY TRAN> KEXDH_INIT TRAN< KEX_DH_GEX_REPLY TRAN DSS signature verified TRAN> NEWKEYS TRAN< NEWKEYS TRAN SSH Key Exchange Success. TRAN> IGNORE TRAN> SERVICE_REQUESTSep 19, 2012 12:13:46 PM - Host = ***.com
ChilkatLog: AuthenticatePw: DllDate: Sep 13 2012 UnlockPrefix: Username: -iPad:mobile Architecture: Little Endian; 32-bit Language: IOS Objective-C VerboseLogging: 0 SshVersion: SSH-2.0-OpenSSH_4.3 sshAuthenticatePw: SentServiceReq: ssh-userauth genRead_2: Timeout waiting to read socket or accept connection timeoutMs: 30000 SSH readRawPacket: Socket read timed out. --genRead_2 Error reading service accept. --sshAuthenticatePw Failed. --AuthenticatePw --ChilkatLog
Melvin,
Try this new build:
http://www.chilkatsoft.com/preRelease/Chilkat-9.3.2-IOS-6.0.zip
There have been numerous issues reported by many Chilkat customers having to do with the new iOS 6 device builds (the simulator build is reported to work in all cases).
The solution was to build the Chilkat libs with a lower compiler optimization setting. There must be some invalid optimized code produced by the llvm-gcc-4.2 for the armv7 and armv7s devices. The optimization has been changed from "-Os" to "-O1". This has solved the problems of all customers that have so far tested the new build.
PS> When posting a LastErrorText or session log, please be sure to put the listings inside "<pre>" and "</pre>" tags.