bug-bash
[Top][All Lists]
Advanced

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

Re: command not found on remote server


From: Paul Jarc
Subject: Re: command not found on remote server
Date: Thu, 11 Dec 2008 11:57:37 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Dolphin06 <david.vauquelin@gmail.com> wrote:
> Can i do something like this :
> ssh $USER@$SERVER export PATH=$PATH:/other path/ ; script param....

You'd have to quote the sequence of commands that should run on the
remote host, so that the local bash and ssh see it as all one parameter:
ssh $USER@$SERVER 'export PATH=$PATH:/other path/ ; script param....'


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]