From 1a668e8a92b7f1bdda5b59d723cea66c09b5bfc9 Mon Sep 17 00:00:00 2001 From: nguyen hoang vu Date: Tue, 19 Sep 2017 13:52:37 +0700 Subject: [PATCH] remove port --- src/Jobs/CreateTunnel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Jobs/CreateTunnel.php b/src/Jobs/CreateTunnel.php index 911a3d6..f84cc8f 100644 --- a/src/Jobs/CreateTunnel.php +++ b/src/Jobs/CreateTunnel.php @@ -36,7 +36,7 @@ public function __construct() config('tunneler.local_port') ); - $this->sshCommand = sprintf('%s %s %s -N -i %s -L %d:%s:%d -p %d %s@%s', + $this->sshCommand = sprintf('%s %s %s -N -i %s -L %d:%s:%d %s@%s', config('tunneler.ssh_path'), config('tunneler.ssh_options'), config('tunneler.ssh_verbosity'), @@ -44,7 +44,6 @@ public function __construct() config('tunneler.local_port'), config('tunneler.bind_address'), config('tunneler.bind_port'), - config('tunneler.port'), config('tunneler.user'), config('tunneler.hostname') );