[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Running a command via ssh



Christopher Fowler wrote:
> When 'ssh user at address "command"; is executed what profiles does it
> load.  It does not seem to load ~/.bashrc on the remote system.

At the bottom of the ENVIRONMENT section of 'man ssh':


Additionally, ssh reads $HOME/.ssh/environment, and adds lines of the
format ``VARNAME=value'' to the environment if the file exists and if
users are allowed to change their environment.  For more information, 
see the PermitUserEnvironment option in sshd_config(5).

-- 
Until later, Geoffrey