summaryrefslogtreecommitdiff
path: root/scp.c
AgeCommit message (Collapse)Author
2005-11-25 - (dtucker) [progressmeter.c scp.c sftp-server.c] Use correct casts forDarren Tucker
snprintf formats, fixes warnings on some 64 bit platforms. Patch from shaw at vranix.com, ok djm@
2005-11-22 - deraadt@cvs.openbsd.org 2005/11/12 18:38:15Darren Tucker
[scp.c] avoid close(-1), as in rcp; ok cloder
2005-10-03 - djm@cvs.openbsd.org 2005/09/13 23:40:07Darren Tucker
[sshd.c ssh.c misc.h sftp.c ssh-keygen.c ssh-keysign.c sftp-server.c scp.c misc.c ssh-keyscan.c ssh-add.c ssh-agent.c] ensure that stdio fds are attached; ok deraadt@
2005-08-02 - dtucker@cvs.openbsd.org 2005/07/27 10:39:03Darren Tucker
[scp.c hostfile.c sftp-client.c] Silence bogus -Wuninitialized warnings; ok djm@
2005-06-17 - djm@cvs.openbsd.org 2005/06/17 02:44:33Damien Miller
[auth-rsa.c auth.c auth1.c auth2-chall.c auth2-gss.c authfd.c authfile.c] [bufaux.c canohost.c channels.c cipher.c clientloop.c dns.c gss-serv.c] [kex.c kex.h key.c mac.c match.c misc.c packet.c packet.h scp.c] [servconf.c session.c session.h sftp-client.c sftp-server.c sftp.c] [ssh-keyscan.c ssh-rsa.c sshconnect.c sshconnect1.c sshconnect2.c sshd.c] make this -Wsign-compare clean; ok avsm@ markus@ NB. auth1.c changes not committed yet (conflicts with uncommitted sync) NB2. more work may be needed to make portable Wsign-compare clean
2005-06-01 - avsm@cvs.openbsd.org 2005/05/26 02:08:05Darren Tucker
[scp.c] If copying multiple files to a target file (which normally fails, as it must be a target directory), kill the spawned ssh child before exiting. This stops it trying to authenticate and spewing lots of output. deraadt@ ok
2005-05-26 - avsm@cvs.openbsd.org 2005/05/24 17:32:44Damien Miller
[atomicio.c atomicio.h authfd.c monitor_wrap.c msg.c scp.c sftp-client.c] [ssh-keyscan.c sshconnect.c] Switch atomicio to use a simpler interface; it now returns a size_t (containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now becomes: if (atomicio(read, ..., len) != len) err(1,"read"); ok deraadt@, cloder@, djm@
2005-04-03 - djm@cvs.openbsd.org 2005/04/02 12:41:16Damien Miller
[scp.c] since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror build
2005-04-03 - deraadt@cvs.openbsd.org 2005/03/31 18:39:21Damien Miller
[scp.c] copy argv[] element instead of smashing the one that ps will see; ok otto
2005-01-24 - dtucker@cvs.openbsd.org 2005/01/24 10:22:06Darren Tucker
[scp.c sftp.c] Have scp and sftp wait for the spawned ssh to exit before they exit themselves. This prevents ssh from being unable to restore terminal modes (not normally a problem on OpenBSD but common with -Portable on POSIX platforms). From peak at argo.troja.mff.cuni.cz (bz#950); ok djm@ markus@
2004-11-05 - deraadt@cvs.openbsd.org 2004/09/15 18:46:04Darren Tucker
[scp.c] scratch that do { } while (0) wrapper in this case
2004-08-13 - avsm@cvs.openbsd.org 2004/08/11 21:44:32Darren Tucker
[authfd.c scp.c ssh-keyscan.c] use atomicio instead of homegrown equivalents or read/write. markus@ ok
2004-07-17 - (dtucker) [logintest.c scp.c sftp-server.c sftp.c ssh-add.c ssh-agent.cDarren Tucker
ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c ssh.c sshd.c openbsd-compat/bsd-misc.c] Move "char *__progname" to bsd-misc.c. Reduces diff vs OpenBSD; ok mouring@, tested by tim@ too.
2004-07-08 - dtucker@cvs.openbsd.org 2004/07/08 12:47:21Darren Tucker
[scp.c] Prevent scp from skipping the file following a double-error. bz #863, ok markus@
2004-06-22 - avsm@cvs.openbsd.org 2004/06/21 17:36:31Darren Tucker
[auth-rsa.c auth2-gss.c auth2-pubkey.c authfile.c canohost.c channels.c cipher.c dns.c kex.c monitor.c monitor_fdpass.c monitor_wrap.c monitor_wrap.h nchan.c packet.c progressmeter.c scp.c sftp-server.c sftp.c ssh-gss.h ssh-keygen.c ssh.c sshconnect.c sshconnect1.c sshlogin.c sshpty.c] make ssh -Wshadow clean, no functional changes markus@ ok There are also some portable-specific -Wshadow warnings to be fixed in monitor.c and montior_wrap.c.
2004-04-19 - markus@cvs.openbsd.org 2004/04/01 12:19:57Darren Tucker
[scp.c] limit trust between local and remote rcp/scp process, noticed by lcamtuf; ok deraadt@, djm@
2003-11-24 - djm@cvs.openbsd.org 2003/11/23 23:18:45Damien Miller
[ssh-keygen.c] consistency PATH_MAX -> MAXPATHLEN; ok markus@ (RCS ID sync only) - djm@cvs.openbsd.org 2003/11/23 23:21:21 [scp.c] from portable: rename clashing variable limit-> limit_rate; ok markus@ (RCS ID sync only)
2003-11-22 - (djm) [scp.c] Rename limitbw -> limit_rate to match upstreamed patchDamien Miller
2003-11-21more whitespace (tabs this time)Damien Miller
2003-11-21 - djm@cvs.openbsd.org 2003/11/21 11:57:03Damien Miller
[everything] unexpand and delete whitespace at EOL; ok markus@ (done locally and RCS IDs synced)
2003-11-17 - dtucker@cvs.openbsd.org 2003/11/12 10:12:15Damien Miller
[scp.c] When called with -q, pass -q to ssh; suppresses SSH2 banner. ok markus@
2003-10-15 - jmc@cvs.openbsd.org 2003/10/08 08:27:36Darren Tucker
[scp.1 scp.c sftp-server.8 sftp.1 sftp.c ssh.1 sshd.8] scp and sftp: add options list and sort options. options list requested by deraadt@ sshd: use same format as ssh ssh: remove wrong option from list sftp-server: Subsystem is documented in ssh_config(5), not sshd(8) ok deraadt@ markus@
2003-09-22 - markus@cvs.openbsd.org 2003/09/19 17:40:20Darren Tucker
[scp.c] error handling for remote-remote copy; #638; report Harald Koenig; ok millert, fgs, henning, deraadt
2003-08-22 - (djm) s/get_progname/ssh_get_progname/g to avoid conflict with HeimdalDamien Miller
-lbroken; ok dtucker
2003-07-19 - deraadt@cvs.openbsd.org 2003/07/18 01:54:25Darren Tucker
[scp.c] userid is unsigned, but well, force it anyways; andrushock@korovino.net
2003-07-03 - deraadt@cvs.openbsd.org 2003/06/28 16:23:06Darren Tucker
[atomicio.c atomicio.h authfd.c clientloop.c monitor_wrap.c msg.c progressmeter.c scp.c sftp-client.c ssh-keyscan.c ssh.h sshconnect.c sshd.c] deal with typing of write vs read in atomicio
2003-06-18 - nino@cvs.openbsd.org 2003/06/12 15:34:09Damien Miller
[scp.c] Typo. Ok markus@.
2003-06-04 - djm@cvs.openbsd.org 2003/06/04 12:40:39Damien Miller
[scp.c] kill ssh process upon receipt of signal, bz #241. based on patch from esb AT hawaii.edu; ok markus@
2003-06-04 - djm@cvs.openbsd.org 2003/06/04 12:18:49Damien Miller
[scp.c] ansify; ok markus@
2003-06-03a - millert@cvs.openbsd.org 2003/06/03 02:56:16Damien Miller
[scp.c] Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-28 - (bal) [defines.h progressmeter.c scp.c] Some more culling of non 64bitBen Lindstrom
hacked code.
2003-03-21 - (bal) scp.c 'limit' conflicts with Cray. Rename to 'limitbw'Ben Lindstrom
2003-03-10- (djm) OpenBSD CVS SyncDamien Miller
- markus@cvs.openbsd.org 2003/03/05 22:33:43 [channels.c monitor.c scp.c session.c sftp-client.c sftp-int.c] [sftp-server.c ssh-add.c sshconnect2.c] fix memory leaks; from dlheine@suif.Stanford.EDU/CLOUSEAU; ok djm@
2003-02-24 - markus@cvs.openbsd.org 2003/02/02 10:51:13Damien Miller
[scp.c] call okname() only when using system(3) for remote-remote copy; fixes bugs #483, #472; ok deraadt@, mouring@
2003-01-24 - markus@cvs.openbsd.org 2003/01/23 14:06:15Damien Miller
[scp.1 scp.c] scp -12; Sam Smith and others; ok provos@, deraadt@
2003-01-24 - markus@cvs.openbsd.org 2003/01/23 14:01:53Damien Miller
[scp.c] bandwidth limitation patch (scp -l) from niels@; ok todd@, deraadt@
2003-01-10 - djm@cvs.openbsd.org 2003/01/10 10:29:35Damien Miller
[scp.c] Don't ftruncate after write error, creating sparse files of incorrect length mindrot bug #403, reported by rusr@cup.hp.com; ok markus@
2003-01-10 - fgsch@cvs.openbsd.org 2003/01/10 08:19:07Damien Miller
[scp.c sftp.1 sftp.c sftp-client.c sftp-int.c] sftp progress meter support. original diffs by Nils Nordman <nino at nforced dot com> via markus@, merged to -current by me, djm@ ok.
2003-01-08[scp.c] make compilers without long long happy.Tim Rice
2002-12-23 - markus@cvs.openbsd.org 2002/12/13 15:20:52Ben Lindstrom
[scp.c] 1) include stalling time in total time 2) truncate filenames to 45 instead of 20 characters 3) print rate instead of progress bar, no more stars 4) scale output to tty width based on a patch from Niels; ok fries@ lebel@ fgs@ millert@
2002-12-23 - markus@cvs.openbsd.org 2002/12/05 11:08:35Ben Lindstrom
[scp.c] use roundup() similar to rcp/util.c and avoid problems with strange filesystem block sizes, noted by tjr@freebsd.org; ok djm@
2002-12-23 - markus@cvs.openbsd.org 2002/11/27 17:53:35Ben Lindstrom
[scp.c sftp.c ssh.c] allow usernames with embedded '@', e.g. scp user@vhost@realhost:file /tmp; http://bugzilla.mindrot.org/show_bug.cgi?id=447; ok mouring@, millert@
2002-12-23 - wcobb@cvs.openbsd.org 2002/11/26 00:45:03Ben Lindstrom
[scp.c ssh-keygen.c] Remove unnecessary fflush(stderr) calls, stderr is unbuffered by default. ok markus@
2002-11-09 - markus@cvs.openbsd.org 2002/11/07 22:35:38Ben Lindstrom
[scp.c] check exit status from ssh, and exit(1) if ssh fails; bug#369; binder@arago.de
2002-06-21 - deraadt@cvs.openbsd.org 2002/06/19 00:27:55Ben Lindstrom
[auth-bsdauth.c auth-skey.c auth1.c auth2-chall.c auth2-none.c authfd.c authfd.h monitor_wrap.c msg.c nchan.c radix.c readconf.c scp.c sftp.1 ssh-add.1 ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.1 ssh-keygen.c ssh-keysign.c ssh.1 sshconnect.c sshconnect.h sshconnect2.c ttymodes.c xmalloc.h] KNF done automatically while reading....
2002-06-21 - deraadt@cvs.openbsd.org 2002/06/17 06:05:56Ben Lindstrom
[scp.c] make usage like man page
2002-06-09 - markus@cvs.openbsd.org 2002/06/08 12:36:53Ben Lindstrom
[scp.c] remove FallBackToRsh
2002-04-06 - mouring@cvs.openbsd.org 2002/04/06 18:24:09Ben Lindstrom
[scp.c] Fixes potental double // within path. http://bugzilla.mindrot.org/show_bug.cgi?id=76
2002-04-02 - (bal) Hand Sync of scp.c (reverted to upstream code)Ben Lindstrom
- deraadt@cvs.openbsd.org 2002/03/30 17:45:46 [scp.c] stretch banners
2002-03-05whitespace syncKevin Steves