need a script for:connecting to ssh with php

Discussion in 'PHP' started by yourrapid, May 16, 2008.

  1. #1
    Hi,

    I need a script to connect to SSH (on 1213 port for example ) and login to it , then execute some commands and replay the result ...!

    Thank you so much

    :rolleyes:
     
    yourrapid, May 16, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    jayshah, May 16, 2008 IP
  3. yourrapid

    yourrapid Peon

    Messages:
    243
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you so much my friend ! but how can i Install ssh2 :D ?
     
    yourrapid, May 16, 2008 IP
  4. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #4
    You need to be the owner of the server/VPS to install it unfortunately. Do you have root?

    Jay
     
    jayshah, May 16, 2008 IP
  5. yourrapid

    yourrapid Peon

    Messages:
    243
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes i have !
     
    yourrapid, May 16, 2008 IP