How to install SSH2 to PHP on Suse?

djcrackhome
djcrackhome used Ask the Experts™
on
Hello i asked yesturday a questions concerning SSH2 installing on Suse but I thought that was the right manual but it wasn't, can please somebody write me a manual for dummies, thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Go into YaST, type SSH in the search box (top left corner) and hit browse. When the search is finished select SSH from the list on the right hand side by ticking its box then press ACCEPT in the bottom right corner and YaST will install SSH for you. Nothing to it.

Author

Commented:
This is not working for me, I think the reposittory does not include ssh2. Any other suggestions? Please for a guy "I have to idea anything bout linux" Thanks!
What version of SuSE are you on?
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
OpenSuse 11.0 by 1&1 Servers.
11.0 is a bit old but even so...

When you look in YaST, is OpenSSH not listed at all?

Author

Commented:
OpenSSH is listen and is installed but we are talking about SSH2 for PHP, aren't we?
Oops - bit of blindness there....

SSH2 is a PECL extension at http://pecl.php.net and it should install with

pecl install ssh2

on a command line. You will also need OpenSSL installed so add that in if it is not present and I don't think you need php5-openssl but I'd install it anyway.

Author

Commented:
But how do I install PECL on Suse?
OK if PECL is not there then PEAR should work. Check that PEAR is installed in YaST and then try (on a command line)

pear install "channel://pecl.php.net/ssh2-0.11.0"

This package is in Beta and is not marked as stable

Author

Commented:
Okay thanks ;)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial