<?php $server = "--"; $username = "--"; $password = "--"; $connection = ssh2_connect($server, 22, $methods); ssh2_auth_password($connection, $username, $password); $shell = ssh2_shell($connection); $cmd = "sh fileset.sh"; $output = user_exec($shell,$cmd); function user_exec($shell,$cmd) { $tab[]= $line; } } ?>
I nic więcej

1Gb transferu spokojnie starczy
