Hi Henk,
Thanks for coming back to me on this;
I am getting the following error within bots;
Traceback (most recent call last):
File "/gw/app/app/bots/botslib.py", line 333, in wrapper
terug = func(*args,**argv)
File "/gw/app/app/bots/communication.py", line 84, in run
comclass.run()
File "/gw/app/app/bots/communication.py", line 117, in run
self.connect()
File "/gw/app/app/bots/communication.py", line 1418, in connect
self.session = paramiko.SFTPClient.from_transport(self.transport)
File "/root/.local/lib/python2.7/site-packages/paramiko/sftp_client.py", line 133, in from_transport
File "/root/.local/lib/python2.7/site-packages/paramiko/transport.py", line 772, in open_session
File "/root/.local/lib/python2.7/site-packages/paramiko/transport.py", line 896, in open_channel
EOFError
and on the SFTP log I have this
DEB [20240804-21:45:02.192] thr=1 paramiko.transport: starting thread (client mode): 0x65f9d1d0L
DEB [20240804-21:45:02.192] thr=1 paramiko.transport: Local version/idstring: SSH-2.0-paramiko_2.8.10
DEB [20240804-21:45:02.228] thr=1 paramiko.transport: Remote version/idstring: u'SSH-2.0-MFT'
INF [20240804-21:45:02.228] thr=1 paramiko.transport: Connected (version 2.0, client MFT)
DEB [20240804-21:45:02.229] thr=1 paramiko.transport: kex follows? False
kex algos: [u'diffie-hellman-group1-sha1', u'diffie-hellman-group14-sha1', u'diffie-hellman-group14-sha256', u'diffie-hellman-group15-sha512', u'diffie-hellman-group16-sha512', u'diffie-hellman-group17-sha512', u'diffie-hellman-group18-sha512', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group-exchange-sha256', u'ecdh-sha2-nistp256', u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'ecdh-sha2-1.3.132.0.1', u'ecdh-sha2-1.2.840.10045.3.1.1', u'ecdh-sha2-1.3.132.0.33', u'ecdh-sha2-1.3.132.0.26', u'ecdh-sha2-1.3.132.0.27', u'ecdh-sha2-1.3.132.0.16', u'ecdh-sha2-1.3.132.0.36', u'ecdh-sha2-1.3.132.0.37', u'ecdh-sha2-1.3.132.0.38']
server key: [u'ssh-rsa', u'rsa-sha2-256', u'rsa-sha2-512']
client encrypt: [u'3des-cbc', u'3des-ctr', u'blowfish-cbc', u'blowfish-ctr', u'twofish128-cbc', u'twofish128-ctr', u'twofish192-cbc', u'twofish192-ctr', u'twofish-cbc', u'twofish256-cbc', u'twofish256-ctr', u'aes128-cbc', u'aes128-ctr', u'aes192-cbc', u'aes192-ctr', u'aes256-cbc', u'aes256-ctr', u'serpent128-cbc', u'serpent128-ctr', u'serpent192-cbc', u'serpent192-ctr', u'serpent256-cbc', u'serpent256-ctr', u'idea-cbc', u'idea-ctr', u'cast128-cbc', u'cast128-ctr', u'arcfour', u'arcfour128', u'arcfour256']
server encrypt: [u'3des-cbc', u'3des-ctr', u'blowfish-cbc', u'blowfish-ctr', u'twofish128-cbc', u'twofish128-ctr', u'twofish192-cbc', u'twofish192-ctr', u'twofish-cbc', u'twofish256-cbc', u'twofish256-ctr', u'aes128-cbc', u'aes128-ctr', u'aes192-cbc', u'aes192-ctr', u'aes256-cbc', u'aes256-ctr', u'serpent128-cbc', u'serpent128-ctr', u'serpent192-cbc', u'serpent192-ctr', u'serpent256-cbc', u'serpent256-ctr', u'idea-cbc', u'idea-ctr', u'cast128-cbc', u'cast128-ctr', u'arcfour', u'arcfour128', u'arcfour256']
client mac: [u'hmac-sha1', u'hmac-sha1-96', u'hmac-md5', u'hmac-md5-96', u'hmac-sha2-256', u'hmac-sha2-256-96', u'hmac-sha2-512', u'hmac-sha2-512-96']
server mac: [u'hmac-sha1', u'hmac-sha1-96', u'hmac-md5', u'hmac-md5-96', u'hmac-sha2-256', u'hmac-sha2-256-96', u'hmac-sha2-512', u'hmac-sha2-512-96']
client lang: ''
server lang: ''
client compress: [u'none', u'zlib']
server compress: [u'none', u'zlib']
DEB [20240804-21:45:02.229] thr=1 paramiko.transport: Kex agreed: ecdh-sha2-nistp256
DEB [20240804-21:45:02.230] thr=1 paramiko.transport: HostKey agreed: ssh-rsa
DEB [20240804-21:45:02.230] thr=1 paramiko.transport: Cipher agreed: aes128-ctr
DEB [20240804-21:45:02.230] thr=1 paramiko.transport: MAC agreed: hmac-sha2-256
DEB [20240804-21:45:02.230] thr=1 paramiko.transport: Compression agreed: none
DEB [20240804-21:45:02.315] thr=1 paramiko.transport: kex engine KexNistp256 specified hash_algo <built-in function openssl_sha256>
DEB [20240804-21:45:02.316] thr=1 paramiko.transport: Switch to new keys ...
DEB [20240804-21:45:02.324] thr=2 paramiko.transport: [chan 0] Max packet in: 32768 bytes
WAR [20240804-21:45:02.394] thr=1 paramiko.transport: Oops, unhandled type 3 ('unimplemented')
DEB [20240804-21:46:02.425] thr=1 paramiko.transport: EOF in transport thread
The Oops part hangs for about a minute before it comes up with the EOF error.
Much appreciated for your response on this Henk.
Thanks
Lee