X This is a work-in-progress experimental design. Things will be broken and unfinished! You may prefer php.net

Secure Shell2

add a note add a note

User Contributed Notes 2 notes

up
2
zelnaga+php at gmail dot com
4 years ago
if you're trying to connect to an ssh server in an environment where the ssh2 extension cannot be installed this pure-php implementation may be helpful:

http://phpseclib.sourceforge.net/documentation/net.html
up
0
tom at r dot je
4 years ago
As an alternative to using SSH2, it's easier to mount a remote file system ( http://ubuntu.wordpress.com/2005/10/28/
how-to-mount-a-remote-ssh-filesystem-using-sshfs/ ) and use the standard php copy() unlink() etc files.