Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (10 sloc) 522 Bytes
#!/bin/bash
# Enables randomly generated authentication token by default.
# Change the value here if you desire a specific token value.
export INLETSTOKEN=$(head -c 16 /dev/urandom | shasum | cut -d" " -f1)
curl -sLS https://get.inlets.dev | sudo sh
curl -sLO https://raw.githubusercontent.com/alexellis/inlets/master/hack/inlets.service && \
mv inlets.service /etc/systemd/system/inlets.service && \
echo "AUTHTOKEN=$INLETSTOKEN" > /etc/default/inlets && \
systemctl start inlets && \
systemctl enable inlets
You can’t perform that action at this time.