On Thu, 6 May 2004, Tim Shadel wrote:
> Igor Pechtchanski wrote:
>
> [snip]
> >>>2. Is there a file (.rc something-or-other perhaps?) that I can create
> >>>that will make the "source /etc/profile" call once plink connects, so I
> >>>can have the right path when happens?
> >
> >Well, you can tell
Igor Pechtchanski wrote:
Why not try it locally, like this:
echo echo $PATH
echo 'echo $PATH'
echo "echo $PATH"
and then
sh -xc 'PATH=/blah;echo $PATH'
sh -xc "PATH=/blah;echo $PATH"
Aah. I forgot about the meanings of various quotes in bash. That's an
excellent example.
2. Is there a file (.rc
On Thu, 6 May 2004, Tim Shadel wrote:
> I'm not subscribed to the list. Kindly CC: me in any threads that
> result from this email. Thanks.
>
> [snip]
> What I found is this:
>
> (a) ssh localhost echo $PATH
>
> returned the correct cygwin path, but
>
> (b) ssh localhost 'echo $PATH'
>
> returne
I'm not subscribed to the list. Kindly CC: me in any threads that result from this
email. Thanks.
Larry Hall wrote:
Sorry, I don't use putty or plink (and actually since they aren't part
ofthe Cygwin distribution, much discussion of them is off-topic for
this list).
Understood. I'll try rephr
At 09:56 PM 5/5/2004, you wrote:
>I'm not subscribed to the list. Kindly CC: me in any threads that result from this
>email. Thanks.
>
>Here's my setup:
>
>Client: Win2K box with Putty/Plink
>Server: Win2K professional with cygwin/sshd (actually copssh, but it's just a minimal
>cygwin install)
I'm not subscribed to the list. Kindly CC: me in any threads that
result from this email. Thanks.
Here's my setup:
Client: Win2K box with Putty/Plink
Server: Win2K professional with cygwin/sshd (actually copssh, but it's
just a minimal cygwin install)
I can login just fine. I can use public
6 matches
Mail list logo