Page 1 of 1

Oracle Cannot connect via SFTP to Filezilla server pro

Posted: 2022-09-27 17:11
by stephen.noyes_proto
We seem to be failing because of a crypto algo did not match with the Oracle software.

Can we find out if there’s a way to allow addition algorithms?

<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] Session 0x27d9e1e1470 with ID 20162 created.
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] session::ssh_accept
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] Session setting buffer sizes [receive=-1, send=-1]
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] session::ssh_accept
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] session::ssh_accept
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] Could not authenticate session [result=general function failure, error=cannot match key algo with peer]
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] SFTP session failed [result=general function failure, error=no error]
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Status] Closing connection

Code: Select all

<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] Clearing sftp_fs
<9/26/2022 9:11:01 AM> SSH SFTP Server [Status] Session 20162 ended gracefully.
<9/26/2022 9:11:01 AM> SSH SFTP Session 20162 147.154.25.18 [Trace] Session 0x27d9e1e1470 with ID 20162 destroyed.


When I test from the FileZilla Client, I get the following Hostkey Algo: SSH-ED25519 255 

 


It’s possible that Oracle is using some of the alternative hostkey algorithms:
•	RSA
•	DSA
•	ECDSA
•	ed25519

Re: Oracle Cannot connect via SFTP to Filezilla server pro

Posted: 2022-09-27 23:37
by boco
I'm nowhere an SFTP expert, but AFAIK, you need to externally generate a host key with an algorithm your client understands. The self-generated Host keys from FileZilla Server are all ED keys.