[aklug] Re: PATH for non-interactive ssh stuff?

From: Christopher Howard <choward@indicium.us>
Date: Sun Aug 15 2010 - 15:46:37 AKDT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/15/10 09:49, William Morita wrote:
> Try setting a path in the .bashrc file.
>
> On Sat, Aug 14, 2010 at 9:29 PM, Christopher Howard <choward@indicium.us
> <mailto:choward@indicium.us>> wrote:
>
> Problem: I installed git in my HOME directory on a remote system I don't
> have root access to. Works great when I'm logged-in, but when I try to
> clone a repo over ssh, I get this: (command is being executed on my
> local computer, to clone repo on remote system where I did the git
> custom install)
>
> bash: git-upload-pack: command not found
> fatal: The remote end hung up unexpectedly
>
> What is happening is, over SSH, it can't find that binary. Its installed
> in ~/bin, but that isn't in the PATH:
>
> $ ssh myusername@myremoteserver.com
> <mailto:myusername@myremoteserver.com> echo \$PATH
> /usr/bin:/bin
>
> Adding info to the PATH in .bashrc or .profile on the remote system
> doesn't change the PATH displayed when I run the previous command.
>

Communication seems to be breaking down somewhere.

- ---------
To unsubscribe, send email to <aklug-request@aklug.org
<mailto:aklug-request@aklug.org>>
with 'unsubscribe' in the message body.

> --
> -- Bill Morita
> 907-952-9948 (Cell)

- --
Christopher Howard
frigidcode.com
theologia.indicium.us
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxofF0ACgkQQ5FLNdi0BcUWrgCfRFd0gBlfkvU6OtqHxn4LmfcJ
eW8AoItAEZGYASZ3NdRWjCq8RyFO4DZ1
=fEhn
-----END PGP SIGNATURE-----
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sun Aug 15 15:44:04 2010

This archive was generated by hypermail 2.1.8 : Sun Aug 15 2010 - 15:44:04 AKDT