Hey! I tried to run a shell script of a vpn called hide.me and gave me this error
cp: cannot stat 'hide.me': No such file or directory
cp: cannot stat 'CA.pem': No such file or directory
cp: cannot stat 'hide.me@.service': No such file or directory
cp: cannot stat 'config': No such file or directory
chmod: cannot access '/opt/hide.me/hide.me': No such file or directory
Binary, CA certificate, SystemD service and config file installed in /opt/hide.me
Hide.me CLI needs to fetch a token. Please, provide your hide.me credentials
/home/pablo/Downloads/hide.me-linux-amd64-0.9.8/install.sh: line 20: ./hide.me: No such file or directory
Using SystemD
Failed to link unit: Unit file /opt/hide.me/hide.me@.service does not exist.
In order to set up and start a connection execute:
systemctl enable hide.me@SERVER
systemctl start hide.me@SERVER
Where SERVER is a server name ( e.g. amsterdam-1 ) or a region ( e.g. nl )
Finished
I was curious and used the download and unpack part:
mkdir test
cd ./test
curl -L https://hide.me/download/linux-amd64 | tar -xz
and ended up with 5 files:
ls -hl
total 9.7M
-rw-r--r-- 1 jo jo 3.5K Nov 22 11:36 CA.pem
-rwxr-xr-x 1 jo jo 9.7M Nov 22 11:36 hide.me
-rw-r--r-- 1 jo jo 718 Nov 22 11:36 hide.me@.service
-rwxr-xr-x 1 jo jo 1.1K Nov 22 11:36 install.sh
-rwxr-xr-x 1 jo jo 399 Nov 22 11:36 uninstall.sh
So:
the script is flawed because it tries to copy a file named “config” - which does not exist
but otherwise it seems ok.
The files are there and only one of the messages you gave should have occured:
cp: cannot stat 'config': No such file or directory
Binary, CA certificate, SystemD service and config file installed in /opt/hide.me
Hide.me CLI needs to fetch a token. Please, provide your hide.me credentials
Username: pablo
Password:
Name: Resolved free.hideservers.net to 217.138.194.226
Pins: Hide.Me Server CA #1 pin OK
Pins: Hide.Me Root CA pin OK
Rest: [ERR] Bad HTTP response ( 401 )
AcTo: [ERR] Access-Token request failed: bad HTTP status
Using SystemD
Created symlink /etc/systemd/system/hide.me@.service → /opt/hide.me/hide.me@.service.
In order to set up and start a connection execute:
systemctl enable hide.me@SERVER
systemctl start hide.me@SERVER
Where SERVER is a server name ( e.g. amsterdam-1 ) or a region ( e.g. nl )
Finished