Jump to content

phpcs

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

phpcs's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. While I want a ssh command to be runned in background in Linux servers, I just put a "nohop" phrase in beginning of commands and they will run in background, But when I use SSH2_exec to run those commands with nohop on a remote server, the commands will not ever run, Any suggestion about what the issue can be?
  2. phpcs

    SSH2 help

    Thanks thorpe, That was great help of you. Regards
  3. phpcs

    SSH2 help

    Thanks, But no, my script doesn't require to interact with user, Let me make a better example, I'm using commands like mysql or sftp .... which are not just one command, when we execute them on a remote server always server asks about authenication criteria so this commands are not just one step commands, How to be able running these commands via ssh2 abilities? or any other alternative?
  4. I'm using php ssh2 extension to run commands on remote servers from my php script. But there are many commands that require authentication, like "passwd", other commands like "ls -l" are fine with no problem, How can I use ssh2 to run this kind of commands?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.