facebook / hhvm

A virtual machine for executing programs written in Hack.
https://hhvm.com
Other
18.15k stars 2.99k forks source link

SSH2 #4115

Open TheRyanHowell opened 9 years ago

TheRyanHowell commented 9 years ago

Any chance of someone porting SSH2 into HHVM?

Considering @sgolemon released libssh2, I expected it to already be implemented, guess you guys have higher priorities, just wanted to make the interest known.

In the meantime, any other suggested methods of interacting over ssh via HHVM?

Thanks

steelbrain commented 9 years ago

+1

lbadger commented 9 years ago

+1

sgolemon commented 9 years ago

Yeah, you'd think I'd want my own library supported. :)

denji commented 9 years ago

libpssh handles multiple SSH connections using libevent and libssh2. At the moment this library requires libssh2 with custom patches available here PHP extension-wrapper for libpssh, implementing asynchronously handles multiple SSH connections.

jippi commented 9 years ago

:+1:

steelbrain commented 9 years ago

Bump

partounian commented 9 years ago

Anyone know to install the libs above?

Blackglade commented 8 years ago

+1 Would love to see this implemented!

MTRNord commented 8 years ago

+1

TitinDev commented 8 years ago

up

cameronmalek commented 8 years ago

+1

arseniosiani commented 8 years ago

+1

inctor commented 8 years ago

+1 Why did it un-assign @sgolemon ? All i did was make a comment..

ghost commented 8 years ago

Any update on this?

frette commented 8 years ago

@sgolemon Are there plans for implementing this? Does anyone know alternatives for opening ssh connections from within hhvm?

romibuzi commented 8 years ago

@frette You could try to use Phpseclib, which is a pure PHP reimplementation of some protocols, including SSH, it's fully compatible with HHVM according to tests https://travis-ci.org/phpseclib/phpseclib/builds/135422678. The other possible solution would be to use exec to then run shell scripts where you open ssh connections

ghost commented 8 years ago

Ok, sounds good. I was just wondering as HHVM says it now supports '100%' of wordpress, but wordpress uses FTP and SSH to modify files on the server and HHVM doesn't actually support that making the claim false. I'm currently looking for alternatives though, thank you.

Sohorev commented 8 years ago

+1

ghost commented 7 years ago

+1

Mirocow commented 6 years ago

+1

BillKarkavos commented 6 years ago

+1