….exe gcc.exe -c ssh2_exec.c -o ssh2_exec.o -I"C…" $(LIBS) ssh2_exec.o: ssh2_exec.c $(CC) -c ssh2_exec.c -o ssh2_exec.o $(CFLAGS… Discussion Thread by ameen_al in Software Development
c
6 Years Ago
….exe gcc.exe -c ssh2_exec.c -o ssh2_exec.o -I"C…" $(LIBS) ssh2_exec.o: ssh2_exec.c $(CC) -c ssh2_exec.c -o ssh2_exec.o $(CFLAGS… Discussion Thread by ameen_al in Software Development
c
Well, I don't see that you are actually linking the library. Add the linker directive "-l ssh2" to your LIBS variable. That's a lower-case 'ell'. The upper-case directives are for directories to search for the actual libraries to link. Reply by rubberman
6 Years Ago
… code (part of it): $stream = ssh2_exec($con, "make run"… Discussion Thread by Peppercat101 in Web Development
5 Years Ago
…); ssh2_auth_password($connection, $user, $pass); $stream = ssh2_exec($connection, 'get hardware cpu',FALSE… Discussion Thread by tapuwa2002 in Web Development
php
4 Years Ago
…); ssh2_auth_password($connection, $user, $pass); $stream = ssh2_exec($connection, 'get hardware cpu',FALSE… Discussion Thread by tapuwa2002 in Web Development
php
>I have script that using to ssh2 to log into the firewall. I would like to run the commands from the firewall as if I was in the terminal when I add in the command in my script I get Resource id #5. You can't run the command from the terminal by using… Reply by LastMitch
4 Years Ago
… code (part of it): $stream = ssh2_exec($con, "make run"… Discussion Thread by Peppercat101 in Web Development
>Does anyone know how I can get the memory a few times while the program I ran with make run is running? I'm not sure if you find a solution for this. In the future try to post the whole code. Read this: http://php.net/manual/en/book.ssh2.php Reply by LastMitch
4 Years Ago
I would love to know whether this code is the correct manner to send mysql data to a remote database. $host = 'www.domain.tld'; $user = 'remote_user'; $pass = 'remote_password'; $time_end = microtime(true); //grant per;misions to … Discussion Thread by kgizo in Web Development
… to use the function "ssh2_exec" instead of "exec… Reply by The Diamonds
3 Years Ago