On 18/02/25 19:37, Bruno Haible wrote:
Martin Guy wrote:
$ ssh cfarm119 'echo $PATH'
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java8_64/jre/bin:/usr/java8_64/bin

Could that be added to ssh's default PATH? Then there'd be curl everywhere.
Please not. It is important that the cfarm machines represent, as much
as possible, the state of an arbirary machine with the same OS out there.

All right, I got it. Yes, finding a bewildering array of libraries there or not,

and of different versions is an astringent test for portability, and the same

goes for apps' presence or absence and their versions and alternatives.

You are free to change you default PATH via .profile or .bashrc.

Yes, but not for ssh running a command. There is `~/.ssh/environment`

but it doesn't seem to work so I guess `PermitUserEnvironment` is

not set in `/etc/ssh/sshd_config` on any of them

However, the specific issue is pretty much resolved (thanks) by using curl,
which is everywhere except 119, and one slow upload is no great cost.


  M


_______________________________________________
cfarm-users mailing list
cfarm-users@lists.tetaneutral.net
https://lists.tetaneutral.net/listinfo/cfarm-users

Reply via email to