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

Re: PATH for ssh in non-interactive mode



Den 2 Sep 2001 klockan 22:48
skrev Denis A. Doroshenko om (PATH for ssh in non-interactive mod):

> in my .profile i has redefinition of PATH to pick up my ~/bin
> dir with various lame scripts and stuff
> ...
> as i see, for non-interactive sessions, there is a way (login
> capabilities) to set environment. is it the only choise?

$ man ssh
...
     Additionally, ssh reads $HOME/.ssh/environment, and adds lines of 
the
     format ``VARNAME=value'' to the environment.
...

/Peter