Install a single Host Defender (twistcli)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Install a single Host Defender (twistcli)

L0 Member

Install defender failing 

sudo ./twistcli defender install standalone host-linux \
--address https://<CONSOLE> \
--user <USER>

 

Ref : https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/install/install_def...

 

Error:

./twistcli: line 1: syntax error near unexpected token `<'
./twistcli: line 1: `<!doctype html> <html> <head> <title>Prisma Cloud</title> <meta charset="utf-8"> <meta http-equiv="Content-Security-Policy" content="'

1 REPLY 1

Hi @karthik

How did you download the twistcli file?

It should be bash script file, but from the output it seems it is HTML file. You probably have downloaded the downloading page itself, instead of the hosted script.

 

Try to look inside the file with "head -n 20 twistcli" - this should return the first 20 lines from the file, what is the output?

 

  • 1912 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!