Thus said "Andy Bradford" on 04 Feb 2024 08:39:27 -0700:
> But is there a file that I can modify that will cause the shell proper
> to load some kind of environment setup also for non-interactive shells
> started with -c?
[For the archives]
As it turns out, given that the shell does not itself
Thus said "Allan Streib" on Sun, 04 Feb 2024 20:54:26 -0500:
> Just send the full path to your script in the ssh command, and set up
> the rest of the environment within the script.
Yes, this too is an option. It may actually be the best option in my
opinion. If the user knows that their bi
Just send the full path to your script in the ssh command, and set up the
rest of the environment within the script.
Thus said Kastus Shchuka on Sun, 04 Feb 2024 13:40:58 -0800:
> SetEnv Directly specify one or more environment variables and their
> contents to be sent to the server.
Thank you this option looks like it could also work, except it's not one
of which a user with no permissions
On Sun, Feb 04, 2024 at 08:39:27AM -0700, Andy Bradford wrote:
> Hello,
>
> When using SSH to invoke a remote command via the syntax:
>
> ssh remotehost remotecommand
>
> The $HOME/.profile is not used and there appears to be a very minimal
> environment setup. The PATH does not include any
Hello,
When using SSH to invoke a remote command via the syntax:
ssh remotehost remotecommand
The $HOME/.profile is not used and there appears to be a very minimal
environment setup. The PATH does not include any components that have
been added in .profile.
This is probably what step 5 in
6 matches
Mail list logo