Because I wanted to transfer files to the test server and saw that PHP supports ssh operation, I sorted out the installation process and shared it with you.
Installation steps
1. Download php extension ssh2
Download address http://windows.php.net/downloads/pecl/releases/ssh2/0.12/
Download according to your PHP version. I am using thread safety, so I downloaded php_ssh2-0.12-5.4-ts-vc9-x86.zip
2. After decompression, there will be three files, libssh2.dll, php_ssh.dll, php_ssh2.pdb.
3. Place php_ssh.dll and php_ssh2.pdb in your php extension directory php/ext/.
4. Copy libssh2.dll to c:/windows/system32 and c:/windows/syswow64
5. Add extension=php_ssh2.dll to php.ini
6. Restart apache, and you can use php to perform ssh connection operations.
Check phpinfo() to see if the php_ssh2 extension is loaded successfully.
PHP test code
Test renderings: