
<?php if(!($con = ssh2_connect("xxx", 27))){ } else { if(!ssh2_auth_password($con, "xxx", "xxx")) { } else { if(!($stream = ssh2_exec($con, "whoami" )) ){ } else{ // zwraca wynik $data = ""; $data .= $buf; } } } } ?>
@ 21.05
Spadł grad odpowiedzi.

<?php if(!($con = ssh2_connect("xxx", 27))){ } else { if(!ssh2_auth_password($con, "xxx", "xxx")) { } else { if(!($stream = ssh2_exec($con, "whoami" )) ){ } else{ // zwraca wynik $data = ""; $data .= $buf; } } } } ?>