Re: SFTP batch mode patch

This is a discussion on Re: SFTP batch mode patch within the OpenSSH Development forums, part of the Networking and Network Related category; Jeremy Monin wrote: > Hi, > > We do a lot of automated file transfers with SFTP, and found this ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2005
Damien Miller
 
Posts: n/a
Default Re: SFTP batch mode patch

Jeremy Monin wrote:
> Hi,
>
> We do a lot of automated file transfers with SFTP, and found this small
> patch very helpful. The main effect is to tell the underlying SSH client
> that it's operating in batch mode. Patch is against 3.9p1.


Thanks, the first part of the patch has been applied and will be in
the next release.

> diff -ur openssh-3.9p1-orig\sftp.c openssh-3.9p1\sftp.c
> --- openssh-3.9p1-orig\sftp.c Sat Jul 17 02:12:08 2004
> +++ openssh-3.9p1\sftp.c Thu Oct 14 11:39:40 2004
> @@ -1420,6 +1420,7 @@
> fatal("%s (%s).", strerror(errno), optarg);
> showprogress = 0;
> batchmode = 1;
> + addargs(&args, "-obatchmode yes");
> break;
> case 'P':
> sftp_direct = optarg;


Regards,
Damien Miller

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
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

vB 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 10:06 AM.


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