Archived Forum Post

Index of archived forum posts

Question:

sftp connect failed due to hmac-sha1-96 not supported

Feb 19 '14 at 09:58

sftp connect failed due to hmac-sha1-96 not supported, will this be supported?

   ChilkatLog:
  Connect_SFtp:
    DllDate: Aug 15 2013
    ChilkatVersion: 9.4.1.42
    UnlockPrefix: Anything for 30-day trial
    Username: CV0017595N0:zhiyongr
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 0
    SftpVersion: 0
    hcCurDate: Tue, 18 Feb 2014 14:20:03 +0800
    hcExpire: 11/2013
    hostname: enb704
    port: 22
    ConnectTimeoutMs_1: 5000
    calling ConnectSocket2
    IPV6 enabled connect with NO heartbeat.
    connectingTo: enb704
    resolveHostname1:
      Resolving domain name (IPV4) via gethostbyname
    --resolveHostname1
    GetHostByNameHB_ipv4: Elapsed time: 16 millisec
    myIP_1: 135.252.168.92
    myPort_1: 63807
    connect successful (1)
    Established TCP/IP connection with SSH server
    Turning on TCP_NODELAY.
    clientIdentifier: SSH-2.0-PuTTY_Local:_May_11_2009_17:22:38
    Sending client identifier...
    Done sending client identifier.
    Reading server version...
    initialDataFromSshServer: SSH-2.0-OpenSSH_5.4

serverVersion: SSH-2.0-OpenSSH_5.4
    KeyExchangeAlgs:
      algorithm: diffie-hellman-group-exchange-sha256
      algorithm: diffie-hellman-group-exchange-sha1
      algorithm: diffie-hellman-group14-sha1
      algorithm: diffie-hellman-group1-sha1
    --KeyExchangeAlgs
    HostKeyAlgs:
      algorithm: ssh-rsa
    --HostKeyAlgs
    EncCS:
      algorithm: aes128-cbc
      algorithm: aes128-ctr
      algorithm: aes256-ctr
      algorithm: aes256-cbc
    --EncCS
    EncSC:
      algorithm: aes128-cbc
      algorithm: aes128-ctr
      algorithm: aes256-ctr
      algorithm: aes256-cbc
    --EncSC
    MacCS:
      algorithm: hmac-sha1-96
    --MacCS
    MacSC:
      algorithm: hmac-sha1-96
    --MacSC
    CompCS:
      algorithm: none
      algorithm: zlib@openssh.com
    --CompCS
    CompSC:
      algorithm: none
      algorithm: zlib@openssh.com
    --CompSC
    Encryption: 256-bit AES CTR
    Encryption: 256-bit AES CTR
    Unable to agree upon server-to-client MAC algorithm.
    Unable to agree upon client-to-server MAC algorithm.
    Compression: zlib@openssh.com
    Compression: zlib@openssh.com
    Key Exchange: DH Group Exchange SHA256
    Host Key Algorithm: RSA
    numBits: 256
    pbits: 4096
    Using GEX Group.
    Sending KEX_DH_GEX_REQUEST...
    pbits: 4096
    numBytesRequested: 8
    Connection closed by connected peer.
    sshRawPacket: Socket connection closed.
    sshDhGex: Socket connection closed.
    Failed to read KEX_DH_GEX_REQUEST response
    Failed.
  --Connect_SFtp
--ChilkatLog

Answer

The server will need to support at least hmac-sha1 or hmac-md5 to work with Chilkat.

Chilkat may support other algorithms in the future, such as hmac-sha1-96, but not in the very near future.