OpenSSH
[Top] [All Lists]

Re: Client options to server

To: dtucker@zip.com.au
Subject: Re: Client options to server
From: "Vincenzo Sciarra" <vincenzo.sciarra@gmail.com>
Date: Sun, 12 Nov 2006 10:49:47 +0100
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <20061112094204.GA24800@gate.dtucker.net>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <199b4dc20611120035y7674f067g11b6c4262644fbb5@mail.gmail.com> <20061112092317.GA24196@gate.dtucker.net> <199b4dc20611120128p61f36d74xb8031a911f6df389@mail.gmail.com> <20061112094204.GA24800@gate.dtucker.net>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
Very cool.

Thanks!!!!!!

If I want to modify the code, how I can do equivalent of SendEnv and AcceptEnv?






2006/11/12, Darren Tucker <dtucker@zip.com.au>:
> On Sun, Nov 12, 2006 at 10:28:08AM +0100, Vincenzo Sciarra wrote:
> > Thanks for reply.
>
> You might also want to cc: the list as you might get more/better feedback.
>
> > I'm trying to pass a remote path @ the login-time.
>
> In that case, you don't actually need it until after authentication,
> so I suggest you use an environment request.  You don't need to modify
> the code, just use the existing SendEnv and AcceptEnv options.
>
> > Something like "ssh -l user host -p port -K remote_path".
> >
> > The sample -K option should pass a remote path to server and the
> > server will download the file @ the location.
>
> So that would be something like:
>
> DESTPATH=remote_path ssh -l user host -p port -oSendEnv=DESTDIR
>
> If necessary you could add a command-line shortcut for to ssh for that.
>
> --
> Darren Tucker (dtucker at zip.com.au)
> GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
>    Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.
>


-- 
Vincenzo Sciarra
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>