protected function abortIfNoSSHConnection($server = null)
    {
        $server = $server ? $server : $this->hostNameForConfigFile();
        if (!$this->checkSSHConnection($server)) {
            $this->error("SSH connection to server $server doesn't works. Please run php artisan publish:init or publish:ssh");
            die();
        }
    }
protected function abortIfNoSSHConnection($server = null)
    {
        $server = $server ? $server : $this->hostNameForConfigFile();
        if (!$this->checkSSHConnection($server)) {
            $this->error("SSH connection to server $server doesn't works. Please run php artisan publish:init or publish:ssh");
            die();
        }
    }
protected function abortIfNoSSHConnection ( $ server = null ) { $ server = $ server ? $ server : $ this -> hostNameForConfigFile ( ) ; if ( ! $ this -> checkSSHConnection ( $ server ) ) { $ this -> error ( "SSH connection to server $server doesn't works. Please run php artisan publish:init or publish:ssh" ) ; die ( ) ; } }
Abort if no SSH connection.

@return bool
Abort if no SSH connection .