Current location: Hot Scripts Forums » Programming Languages » PHP » SSH in PHP


SSH in PHP

Reply
  #1 (permalink)  
Old 02-10-10, 05:27 AM
sunanurag sunanurag is offline
Newbie Coder
 
Join Date: Aug 2009
Posts: 51
Thanks: 2
Thanked 0 Times in 0 Posts
SSH in PHP

Hi All,

How to do SSH connection in PHP. If you have any idea then please share with me. From where i can find out easy tutorails?

Regards,
Sunanurag
Reply With Quote
  #2 (permalink)  
Old 02-10-10, 05:58 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
PHP: SSH2 Functions - Manual

I've used these, they work great. You might have to contact the hosting company to ensure they're on the server.
Reply With Quote
  #3 (permalink)  
Old 02-10-10, 10:31 PM
sunanurag sunanurag is offline
Newbie Coder
 
Join Date: Aug 2009
Posts: 51
Thanks: 2
Thanked 0 Times in 0 Posts
Thanks for your reply wirehopper. I was expecting your reply and u had replied.well i m not getting this line You might have to contact the hosting company to ensure they're on the server.

Please explain..
Reply With Quote
  #4 (permalink)  
Old 02-11-10, 06:27 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
SSH may not be part of the installed version of PHP. You can check by running some of the sample code with SSH2 calls. If it runs okay, you're all set.
Reply With Quote
  #5 (permalink)  
Old 02-11-10, 09:04 PM
eddyvlad eddyvlad is offline
Wannabe Coder
 
Join Date: Sep 2003
Location: In The Bloody Pits Of Hell
Posts: 160
Thanks: 2
Thanked 0 Times in 0 Posts
So there's no way you can use SSH2 on a shared hosting?
__________________
Mr. Brown Eyes
Reply With Quote
  #6 (permalink)  
Old 02-11-10, 09:20 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
You may be able to, you would have to check with your hosting company.
Reply With Quote
  #7 (permalink)  
Old 02-11-10, 10:27 PM
sunanurag sunanurag is offline
Newbie Coder
 
Join Date: Aug 2009
Posts: 51
Thanks: 2
Thanked 0 Times in 0 Posts
what is this shared hosting??
Reply With Quote
  #8 (permalink)  
Old 02-12-10, 06:08 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
It is if you are paying a company to host your web site. If you have your own server, it doesn't apply.

I use shared hosting for most of my sites.
Reply With Quote
  #9 (permalink)  
Old 02-12-10, 11:53 PM
sunanurag sunanurag is offline
Newbie Coder
 
Join Date: Aug 2009
Posts: 51
Thanks: 2
Thanked 0 Times in 0 Posts
kk i got it.....
Reply With Quote
  #10 (permalink)  
Old 02-21-10, 11:29 AM
knowlton knowlton is offline
New Member
 
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by eddyvlad View Post
So there's no way you can use SSH2 on a shared hosting?
Actually, there is.

http://phpseclib.sourceforge.net/

Been using it myself and it works quite well.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 10:17 AM
help with error messages.. please APuppyDog PHP 2 10-05-06 11:09 PM
PHP Not Working ProjectJustice PHP 2 06-25-06 07:37 PM
PHP Downside--Solutions? Amulet PHP 10 07-15-05 08:26 AM


All times are GMT -5. The time now is 08:10 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.