protected function createTunnel()
    {
        $this->runCommand(sprintf('%s %s >> %s 2>&1 &',
            config('tunneler.nohup_path'),
            $this->sshCommand,
            config('tunneler.nohup_log')
        ));
        // Ensure we wait long enough for it to actually connect.
        usleep(config('tunneler.wait'));
    }
protected function createTunnel()
    {
        $this->runCommand(sprintf('%s %s >> %s 2>&1 &',
            config('tunneler.nohup_path'),
            $this->sshCommand,
            config('tunneler.nohup_log')
        ));
        // Ensure we wait long enough for it to actually connect.
        usleep(config('tunneler.wait'));
    }
protected function createTunnel ( ) { $ this -> runCommand ( sprintf ( '%s %s >> %s 2>&1 &' , config ( 'tunneler.nohup_path' ) , $ this -> sshCommand , config ( 'tunneler.nohup_log' ) ) ) ; // Ensure we wait long enough for it to actually connect. usleep ( config ( 'tunneler.wait' ) ) ; }
Creates the SSH Tunnel for us.
Creates the SSH Tunnel for us .