public marks

PUBLIC MARKS from lecyborg with tags ubuntu & "web developer"

January 2008

Make SSH connections with PHP

by 3 others
Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practice or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up. In this article I'm going to assume that: * You're running Debian / Ubuntu If not, you will have to substitute the package manager aptitude with whatever your distribution provides * You're running PHP 5 If not, just replace php5 with php4 everywhere * You have basic knowledge of PHP & server administration * You already have PHP installed

July 2007

Debian Administration Utilities

These are the utilities i have collected and each utility is having man page which gives you more information about each utility.

lecyborg's TAGS related to tag ubuntu

active directory +   amarok +   apache +   apt +   backuppc +   bluetooth +   crm +   cryptage +   curlftpfs +   darkstat +   dbdesigner +   debian +   debian utilities +   DHCP +   disque +   divers +   dns +   documentation +   e17 +   eclipse +   EeePC +   exaile +   ext3 +   fichiers +   ftp +   fun +   gimp +   gnome +   gparted +   hostname +   icones +   installation +   kerberos +   laptop +   Launchpad +   ldap +   linutop +   linux +   logiciel +   lshw +   lvm +   mail +   materiel +   mint +   monitoring +   munin +   murrine +   musique +   nautilus +   network +   ntfs +   ntfs-3g +   opendns +   opensource +   partition +   paste +   perso +   photo +   photoshop +   php +   plone +   portable +   programmation +   projet +   proprio +   proxy +   radeon +   raid +   rsync +   samba +   screenlet +   security +   serveur +   squid +   ssh +   ssl +   subclipse +   subversion +   sugar +   svn +   tango +   terminal x +   theme +   thinkpad +   tutorial +   tweak +   usb +   usplash +   utile +   vista +   vmware +   vtiger +   wallpaper +   web +   web developer +   windows +   xdmcp +   xen +   zabbix +   zope +