I have PHP code for SFTP operations which is working fine on a CentOS5 machine currently. After disabling the following deprecated ciphers, it stopped working.
Here is the list of ciphers
Key Exchange: diffie-hellman-group1-sha1 Ciphers: arcfour256, arcfour128, 3DES-cbc, blowfish-cbc, cast128-cbc, arcfour
Here is the current code snippet
$connection = ssh2_connect('ftp_url', 'ftp_port');