[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATH for ssh in non-interactive mode
- To: misc@openbsd.org
- Subject: PATH for ssh in non-interactive mode
- From: "Denis A. Doroshenko" <d.doroshenko@omnitel.net>
- Date: Sun, 2 Sep 2001 22:48:23 +0200
- Content-Disposition: inline
- Mail-Followup-To: misc@openbsd.org
in my .profile i has redefinition of PATH to pick up my ~/bin
dir with various lame scripts and stuff... but when i say:
ssh target-box lame-script
it answers:
sh: lame-script: not found
as i see, for non-interactive sessions, there is a way (login
capabilities) to set environment. is it the only choise?
thanks...
[it's not that comfortable, because in case of any PATH changes,
i need to synchronise two places]
--
Denis A. Doroshenko internet services, unices, m$ os
System programmer and administrator programming, administering, consulting
mailto:cyxob@thief.dyndns.org do you BSD? --> http://www.OpenBSD.org