kumekay / inlets-compose

Docker Compose Config for Inlets (behind Traefik as reverse proxy)
1 stars 2 forks source link

The token generate command error #1

Closed aaronchn closed 4 years ago

aaronchn commented 4 years ago

OS:Debian Buster/10

In Shell:

$ pwd
/home/userx
$ head -c 16 /dev/urandom | shasum | cut -d\" \" -f1
cut: '"': No such file or directory

Try:

$ head -c 16 /dev/urandom | shasum | cut -d"=" -f2
c8aa0836f7a4030ee4b493a56854fd02792f9d51
kumekay commented 4 years ago

@aaronchn Aaron, thank you for the issue, I've updated to head -c 16 /dev/urandom | shasum | cut -d' ' -f1 that should work fine on different linuxes and macos. Not sure why I escaped quotes initally...