hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

SSH2

Open TheRyanHowell opened this issue 10 years ago • 21 comments

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

TheRyanHowell avatar Nov 01 '14 15:11 TheRyanHowell

+1

steelbrain avatar Nov 01 '14 23:11 steelbrain

+1

lbadger avatar Nov 03 '14 17:11 lbadger

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

sgolemon avatar Nov 03 '14 18:11 sgolemon

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.

denji avatar Nov 04 '14 01:11 denji

:+1:

jippi avatar Jan 21 '15 11:01 jippi

Bump

steelbrain avatar Apr 17 '15 17:04 steelbrain

Anyone know to install the libs above?

partounian avatar Sep 01 '15 22:09 partounian

+1 Would love to see this implemented!

Blackglade avatar Oct 11 '15 21:10 Blackglade

+1

MTRNord avatar Nov 05 '15 22:11 MTRNord

up

TitinDev avatar Jan 18 '16 00:01 TitinDev

+1

cameronmalek avatar Feb 03 '16 09:02 cameronmalek

+1

arseniosiani avatar Feb 22 '16 10:02 arseniosiani

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

inctor avatar Apr 20 '16 06:04 inctor

Any update on this?

ghost avatar May 31 '16 23:05 ghost

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

frette avatar Jun 07 '16 13:06 frette

@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

romibuzi avatar Jun 07 '16 15:06 romibuzi

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.

ghost avatar Jun 07 '16 15:06 ghost

+1

Sohorev avatar Aug 25 '16 02:08 Sohorev

+1

ghost avatar Apr 07 '17 07:04 ghost

+1

Mirocow avatar Nov 12 '17 23:11 Mirocow

+1

BillKarkavos avatar Mar 28 '18 11:03 BillKarkavos