Prerequisite: Install the reverse proxy
> git clone https://github.com/Starli0n/nginx-guacamole
> cd nginx-guacamole
> make env
(tweak .env file)
> make guacamole
- Customize the
.env
file after the firstmake env
http://HOSTNAME:8080/guacamole
- Username: guacadmin
- Password: guacadmin
psql -h postgres -U guacamole_user -d guacamole_db
For SSH Connection protocol, use those commands to genereate SSH private key:
mkdir .ssh
KEYFILE=$PWD/.ssh/id_guacamole_rsa
openssl genrsa -out ${KEYFILE} -passout stdin 4096
ssh-keygen -y -f ${KEYFILE} > ${KEYFILE}.pub
echo -n " guacamole@no-reply.com" >> ${KEYFILE}.pub
Header should be: -----BEGIN RSA PRIVATE KEY-----
DO NOT USE:
ssh-keygen -t rsa -b 4096 -C "guacamole@no-reply.com" -f "$PWD/.ssh/id_guacamole_rsa"