Я кодирую на VB.net, используя Chilkat для SFTP-файлов на сервере, журнал chilkat указывает, что сервер и программное обеспечение не могут согласовать алгоритм шифрования.
Я искал GoogleРешение этой проблемы и появится пустым.
ChilkatLog:
Connect_SFtp:
DllDate: Dec 12 2012
UnlockPrefix: VNETONSSH
Username: APPLICATIONSRVS:fwatcher
Architecture: Little Endian; 64-bit
Language: .NET 4.0 / x64
VerboseLogging: 0
SftpVersion: 0
hostname: 142.52.192.91
port: 22
ConnectTimeoutMs_1: 30000
calling ConnectSocket2
IPV6 enabled connect with NO heartbeat.
This is an IPV4 numeric address...
AddrInfoList:
AddrInfo:
ai_flags: 4
ai_family: 2
ai_socktype: 1
ai_protocol: 0
ai_addrlen: 16
ai_canonname: (NULL)
--AddrInfo
--AddrInfoList
Connect using IPV4.
ipAddress1: ***.***.***.*** <I removed this>
myIP_3: 10.2.5.104
myPort_3: 50474
connect successful (2)
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-VShell_4_2_5_1322 VShell
serverVersion: SSH-2.0-VShell_4_2_5_1322 VShell
KeyExchangeAlgs:
algorithm: ecdh-sha2-nistp521
algorithm: ecdh-sha2-nistp384
algorithm: ecdh-sha2-nistp256
algorithm: diffie-hellman-group-exchange-sha256
algorithm: diffie-hellman-group14-sha1
algorithm: diffie-hellman-group-exchange-sha1
--KeyExchangeAlgs
HostKeyAlgs:
algorithm: ssh-dss
--HostKeyAlgs
EncCS:
algorithm: aes256-ctr
algorithm: aes192-ctr
--EncCS
EncSC:
algorithm: aes256-ctr
algorithm: aes192-ctr
--EncSC
MacCS:
algorithm: hmac-sha2-512
algorithm: hmac-sha2-256
algorithm: hmac-sha1
--MacCS
MacSC:
algorithm: hmac-sha2-512
algorithm: hmac-sha2-256
algorithm: hmac-sha1
--MacSC
CompCS:
algorithm: zlib@openssh.com
algorithm: zlib
algorithm: none
--CompCS
CompSC:
algorithm: zlib@openssh.com
algorithm: zlib
algorithm: none
--CompSC
Unable to agree upon server-to-client encryption algorithm.
Unable to agree upon client-to-server encryption algorithm.
MAC: HMAC-SHA1
MAC: HMAC-SHA1
Compression: none
Compression: none
Key Exchange: DH Group Exchange SHA256
Host Key Algorithm: DSS
numBits: 128
pbits: 1024
Using GEX Group.
Sending KEX_DH_GEX_REQUEST...
pbits: 1024
Unexpected message received. Expected KEX_DH_GEX_GROUP/KEXDH_REPLY.
msgType: 1
Failed.
--Connect_SFtp
--ChilkatLog
Ожидаемый вывод - успешное подключение к серверу