public marks

PUBLIC MARKS with tags php & ssh

2009

2008

Make SSH connections with PHP

by lecyborg & 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

2007

Shell Commander

by lecyborg
Shell Commander is a PHP script, that allows remote execution of shell commands (like SSH client) through a web browser.

2006

2005

Ribs-Backup.org

by camel (via)
RIBS is an incremental backup system written in PHP which utilizes some common *nix programs (specifically rsync, ssh and cp). Incremental backups mean frequent backups can be done (i.e. hourly) with only around 2x the space of the full backup. Using rsync means that RIBS can act as both a backup script on a local machine, or as a script to backup several network hosts. It is designed to be highly configurable and highly informative to the system administrator. There is a high amount of error checking, and logging/email capabilities.

Active users

RETFU
last mark : 08/09/2009 07:52

jean-gael
last mark : 15/07/2008 12:24

damdec
last mark : 09/04/2008 16:46

lecyborg
last mark : 07/01/2008 09:38

krachot
last mark : 31/07/2007 06:53

jmfontaine
last mark : 30/07/2007 15:43

camel
last mark : 31/05/2005 12:15