mirror of
https://github.com/trailofbits/algo
synced 2024-11-13 19:12:06 +00:00
support older bash versions - resolves #116
This commit is contained in:
parent
1dc6e1a0fa
commit
74b9f0a15a
13
algo
13
algo
@ -103,9 +103,10 @@ Enter your aws_secret_key (http://docs.aws.amazon.com/general/latest/gr/managing
|
||||
Note: Make sure to use either your root key (recommended) or an IAM user with an acceptable policy attached
|
||||
[ABCD...]: " -rs aws_secret_key
|
||||
|
||||
read -e -p "
|
||||
Enter the local path to your SSH public key:
|
||||
: " -i "~/.ssh/id_rsa.pub" -r ssh_public_key
|
||||
|
||||
read -p "
|
||||
Enter the local path to your SSH public key (~/.ssh/id_rsa.pub): " -r ssh_public_key_file
|
||||
ssh_public_key=${ssh_public_key_file:-$HOME/.ssh/id_rsa.pub}
|
||||
|
||||
read -p "
|
||||
Name the vpn server:
|
||||
@ -154,9 +155,9 @@ gce () {
|
||||
Enter the local path to your credentials JSON file (https://support.google.com/cloud/answer/6158849?hl=en&ref_topic=6262490#serviceaccounts):
|
||||
: " -r credentials_file
|
||||
|
||||
read -e -p "
|
||||
Enter the local path to your SSH public key:
|
||||
: " -i "~/.ssh/id_rsa.pub" -r ssh_public_key
|
||||
read -p "
|
||||
Enter the local path to your SSH public key (~/.ssh/id_rsa.pub): " -r ssh_public_key
|
||||
ssh_public_key=${ssh_public_key_file:-$HOME/.ssh/id_rsa.pub}
|
||||
|
||||
read -p "
|
||||
Name the vpn server:
|
||||
|
Loading…
Reference in New Issue
Block a user