Hi,
I'm trying to connect with rsync on a remote Slug. My slug is running SlugOS.
When i execute the rsync command, it says sh: rsync not found.
This relates to a problem in my PATH variable. The command ssh myslug 'echo $PATH' returns '/usr/bin:/bin:/usr/sbin:/sbin'.
I'm clearly missing the /opt/bin but i have no clue on how to add it.
WHen i connect myself on the slug the PATH variable is correctly set:
PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin
WHat is the difference between : Me executing an ssh then env command AND ssh executing the command directly. WHy is the PATH different ?
Thanks
__._,_.___
MARKETPLACE
.
__,_._,___
No comments:
Post a Comment