[darcs-users] darcs push over SSH at virtual hosting
Alexander Pugachev
alexander.pugachev at gmail.com
Sat Nov 11 14:17:26 UTC 2006
to Magnus Therning <magnus at therning.org>
Locally I use Windows, and thread which you pointed to i dedicated to
discussion of sshfs which is subtype of filesystem in userspace, so it is
not my case, but anyway, thank you.
to Eric Y. Kow <eric.kow at gmail.com>
> I read man 1 ssh and figured out that when using non-interactive SSH
> > mode file all that .bashrc and other .profile files are not executed.
>
> Really? This was how I used to understand things, but then some other
> people had different experiences and I changed my mind. Perhaps these
> people just had non-default sshd configurations as you suggest?
Really. I dont know what you are talking about, but default behaviour of
sshd is to start different startup scripts for interactive and
non-interactive ssh sessions. I read this 2 days ago :).
> To make clear what I have in $PATH when using darcs push over SSH I said
> >
> > ssh user at server "echo $PATH"
>
> Note that this just prints out the local path. To get the path on the
> other end, you want
> ssh user at server 'echo $PATH'
>
> The single quotes don't let your shell interpret the variables inside.
>
I am not sure about what shell inerpreters you talk about, I had remote
Linux system $PATH value when run this command in Windows cmd.
> How can I point what darcs binary to use on remote side when I do push
over
> SSH?
I guess this would mean the proposed --remotedarcs really is useful
after all: http://bugs.darcs.net/issue223
Very glad to help your community in a such way :). But I dont know why is
it necessary for someone to come and approve necessity of such an option. It
looks to be a normal feature which is required in very most cases.
Thank you for your response. Maybe you can tell me about some ways to
execute some commands _before_ remote darcs will be called? If there is
posthook option then prehook is just a raw logical thing to be?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20061111/674f0aaa/attachment.htm
More information about the darcs-users
mailing list