I've got problem to connect to the SFTP server of my client.
They've got two servers, I've got no problem with the first one, but the seccond one no answer.
The script is very simple:
The result is the following:
===========================================================================
OUTPUTDETAIL(DEBUG)
Showing command calls, command messages, errors, server responses and debug information
SETPROTOCOL(SFTP)
Setting protocol to SFTP
Setting TCP port to 22.
OPENHOST("XXX.XXX.XXX.001","login","********")
Connecting to XXX.XXX.XXX.001
••••• OPENHOST Error #0
••••• Negotiation failed. Disconnected by the server ('Ssh disconnect host not allowed to connect').
OPENHOST("XXX.XXX.XXX.002","login","********")
Connecting to XXX.XXX.XXX.002
[ ScriptFTP] SSH_FXP_INIT (4)
[Server ] SSH_FXP_VERSION (3, 0 extensions)
[ ScriptFTP] SSH_FXP_REALPATH (1, '.')
[Server ] SSH_FXP_NAME (1, 1 item)
Connected
Connection to server XXX.XXX.XXX.002 succeeded.
CLOSEHOST()
Disconnected
Finished
===========================================================================
I've not even got the error message following the connection.
I can connect to both servers with Filezilla with no problem.
The client send me the following message they found in their log:
SECS127E 09.03.2017 15:43:48 Server(339664) Selected private key XSR-PRV-KEY-OHI351 has an algorithm identifier (ssh-rsa) that is not compatible with the one requested (ssh-dss), check configuration.
They say that I don't send the correct public key. I don't even know what's that, I have very few knowledge about FTP and SFTP.
Anyone have an idea of what happen ? Does ScriptFTP record the key anywhere, and where ?
Thanks in advance.
Nicolas DECOUFLET
They've got two servers, I've got no problem with the first one, but the seccond one no answer.
The script is very simple:
FTP Script
- # Connexion au serveur FTP
- $mes_erreur="ERROR : unable to connect to FTP server."
- $mes_erreur="ERROR : unable to connect to FTP server."
===========================================================================
OUTPUTDETAIL(DEBUG)
Showing command calls, command messages, errors, server responses and debug information
SETPROTOCOL(SFTP)
Setting protocol to SFTP
Setting TCP port to 22.
OPENHOST("XXX.XXX.XXX.001","login","********")
Connecting to XXX.XXX.XXX.001
••••• OPENHOST Error #0
••••• Negotiation failed. Disconnected by the server ('Ssh disconnect host not allowed to connect').
OPENHOST("XXX.XXX.XXX.002","login","********")
Connecting to XXX.XXX.XXX.002
[ ScriptFTP] SSH_FXP_INIT (4)
[Server ] SSH_FXP_VERSION (3, 0 extensions)
[ ScriptFTP] SSH_FXP_REALPATH (1, '.')
[Server ] SSH_FXP_NAME (1, 1 item)
Connected
Connection to server XXX.XXX.XXX.002 succeeded.
CLOSEHOST()
Disconnected
Finished
===========================================================================
I've not even got the error message following the connection.
I can connect to both servers with Filezilla with no problem.
The client send me the following message they found in their log:
SECS127E 09.03.2017 15:43:48 Server(339664) Selected private key XSR-PRV-KEY-OHI351 has an algorithm identifier (ssh-rsa) that is not compatible with the one requested (ssh-dss), check configuration.
They say that I don't send the correct public key. I don't even know what's that, I have very few knowledge about FTP and SFTP.
Anyone have an idea of what happen ? Does ScriptFTP record the key anywhere, and where ?
Thanks in advance.
Nicolas DECOUFLET