tamagokun/pomander — pull request #7 by tamagokun (2013-01-17 18:29:39+00:00)
Title: FUCK SSH2 EXTENSION.

the SSH2 extension, like `proc_open`, is garbage. So many bugs that I dropped it completely.

This pull request goes BACK to using phpseclib with some modifications:

1. send request-pty bits in $ssh->exec() to get a pty. woo!
2. return the exit status of the ssh command.

Things like host key checking work wonderfully.