mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
addiitonal check #589
This commit is contained in:
parent
ae2a2b522e
commit
3f62dab040
1 changed files with 15 additions and 3 deletions
18
algo
18
algo
|
@ -448,10 +448,22 @@ Do you want each user to have their own account for SSH tunneling?
|
||||||
[y/N]: " -r ssh_tunneling_enabled
|
[y/N]: " -r ssh_tunneling_enabled
|
||||||
ssh_tunneling_enabled=${ssh_tunneling_enabled:-n}
|
ssh_tunneling_enabled=${ssh_tunneling_enabled:-n}
|
||||||
|
|
||||||
read -p "
|
if [ "x${server_ip}" = "xlocalhost" ]; then
|
||||||
|
myip=""
|
||||||
|
else
|
||||||
|
myip=${server_ip}
|
||||||
|
fi
|
||||||
|
|
||||||
|
read -p "
|
||||||
|
|
||||||
Enter the public IP address of your server: (IMPORTANT! This IP is used to verify the certificate)
|
Enter the public IP address of your server: (IMPORTANT! This IP is used to verify the certificate)
|
||||||
[$server_ip]: " -r IP_subject
|
[$myip]: " -r IP_subject
|
||||||
IP_subject=${IP_subject:-$server_ip}
|
IP_subject=${IP_subject:-$myip}
|
||||||
|
|
||||||
|
if [ "x${IP_subject}" = "x" ]; then
|
||||||
|
echo "no server IP given. exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
read -p "
|
read -p "
|
||||||
Enter the password for the private CA key:
|
Enter the password for the private CA key:
|
||||||
|
|
Loading…
Add table
Reference in a new issue