Re: Client options to server

This is a discussion on Re: Client options to server within the OpenSSH Development forums, part of the Networking and Network Related category; Very cool. Thanks!!!!!! If I want to modify the code, how I can do equivalent of SendEnv and AcceptEnv? 2006/...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-12-2006
Vincenzo Sciarra
 
Posts: n/a
Default Re: Client options to server

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/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0