Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 07:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[PHP/SSH]systat -ifstat

Discussion on [PHP/SSH]systat -ifstat within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
.NoThx's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,146
Received Thanks: 583
[PHP/SSH]systat -ifstat

Moin, ich möchte auf meinem Server den befehl "systat -ifstat" von einem PHP Script senden lassen, und das Resultat anzeigen lassen, jedoch weiß ich nicht, wie ich eine SSH verbindung zu meinem server aufbauen.
.NoThx is offline  
Old 12/15/2012, 22:53   #2
 
elite*gold: 0
Join Date: Dec 2012
Posts: 3
Received Thanks: 0



Du hast zwei Möglichkeiten:
  1. Du baust über exec eine Verbindung auf und lässt einen Befehl über SSH ausführen.
  2. Du lässt auf dem betroffenem Server ein Script oder eine Anwendung laufen die dir auf einem Port oder direkt über einen eigenen Webserver die gewünschte Ausgabe generiert die du mit fsockopen o.Ä abfragst.
  3. Du befindest dich auf dem gleichen Server und führst den Befehl direkt mit exec() oder system() aus.
extexo is offline  
Reply




All times are GMT +1. The time now is 07:29.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.