[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATH for ssh in non-interactive mode
- To: misc@openbsd.org
- Subject: Re: PATH for ssh in non-interactive mode
- From: "Peter Strömberg" <peters@telia.net>
- Date: Mon, 3 Sep 2001 09:44:24 +0200
- Cc: "Denis A. Doroshenko" <d.doroshenko@omnitel.net>
- Content-description: Mail message body
- Organization: Telia Carrier & Networks
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