Handling special characters in passwords when installing Edge Private Cloud 4.16.01

1 3 1,129

You can use your Apigee ftp credentials to download and install Edge for Private Cloud version 4.16.01 by using the following curl command:

curl https://uName:pWord@software.apigee.com/bootstrap.sh -o /tmp/bootstrap.sh 

where uName:pWord are the username and password you received from Apigee.

If your password contains special characters, such as ">", "$", "@", or "*", then you can either URL-encode them as part of the curl command, or use the curl "-u" option:

curl https://software.apigee.com/bootstrap.sh -o /tmp/bootstrap.sh -u uName 

In this example, you specify only your user name in the curl command. You will then be prompted to enter the password, which can contain special characters.

Comments
rajeshmi
Staff

You can use \ character before any special character . which means if your password is say ef$x@w then use something like ef\$x\@w in your curl command to access the ftp .

sudheendras
Staff

You can also do

curl "https://UName:PWD@software.apigee.com/bootstrap.sh" -o /tmp/bootstrap.sh
frankliu1
Staff

Some special characters like @ can't be escaped by backslash or quote, you have to url encode with with %40 . The easiest way of doing it is to just use -u uName which prompts you to type in password where all special characters are ok.

Version history
Last update:
‎03-29-2016 06:11 AM
Updated by: