[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATH for ssh in non-interactive mode
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: PATH for ssh in non-interactive mode
- From: "Denis A. Doroshenko" <d_(_dot_)_doroshenko_(_at_)_omnitel_(_dot_)_net>
- Date: Sun, 2 Sep 2001 22:48:23 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_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_(_at_)_thief_(_dot_)_dyndns_(_dot_)_org do you BSD? --> http://www.OpenBSD.org
Visit your host, monkey.org