summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/scp.c
AgeCommit message (Collapse)Author
2005-04-02since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror buildDamien Miller
2005-03-31copy argv[] element instead of smashing the one that ps will see; ok ottoTheo de Raadt
2005-01-24Have scp and sftp wait for the spawned ssh to exit before they exitDarren Tucker
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-09-15scratch that do { } while (0) wrapper in this caseTheo de Raadt
2004-08-11use atomicio instead of homegrown equivalents or read/write.Anil Madhavapeddy
markus@ ok
2004-07-08Prevent scp from skipping the file following a double-error.Darren Tucker
bz #863, ok markus@
2004-06-21make ssh -Wshadow clean, no functional changesAnil Madhavapeddy
markus@ ok
2004-04-01limit trust between local and remote rcp/scp process,Markus Friedl
noticed by lcamtuf; ok deraadt@, djm@
2003-11-23from portable: rename clashing variable limit-> limit_rate; ok markus@Damien Miller
2003-11-21unexpand and delete whitespace at EOL; ok markus@Damien Miller
2003-11-12When called with -q, pass -q to ssh; suppresses SSH2 banner. ok markus@Darren Tucker
2003-10-08scp and sftp: add options list and sort options. options list requestedJason McIntyre
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-19error handling for remote-remote copy; #638; report Harald Koenig;Markus Friedl
ok millert, fgs, henning, deraadt
2003-07-18userid is unsigned, but well, force it anyways; andrushock@korovino.netTheo de Raadt
2003-06-28deal with typing of write vs read in atomicioTheo de Raadt
2003-06-12Typo.Nils Nordman
Ok markus@.
2003-06-04kill ssh process upon receipt of signal, bz #241.Damien Miller
based on patch from esb AT hawaii.edu; ok markus@
2003-06-04ansify; ok markus@Damien Miller
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-05fix memory leaks; from dlheine@suif.Stanford.EDU/CLOUSEAU; ok djm@Markus Friedl
2003-02-02call okname() only when using system(3) for remote-remote copy;Markus Friedl
fixes bugs #483, #472; ok deraadt@, mouring@
2003-01-23scp -12; Sam Smith and others; ok provos@, deraadt@Markus Friedl
2003-01-23bandwidth limitation patch (scp -l) from niels@; ok todd@, deraadt@Markus Friedl
2003-01-10Don't ftruncate after write error, creating sparse files of incorrect lengthDamien Miller
mindrot bug #403, reported by rusr@cup.hp.com; ok markus@
2003-01-10sftp progress meter support.Federico G. Schwindt
original diffs by Nils Nordman <nino at nforced dot com> via markus@, merged to -current by me, djm@ ok.
2002-12-131) include stalling time in total timeMarkus Friedl
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-05use roundup() similar to rcp/util.c and avoid problems with strangeMarkus Friedl
filesystem block sizes, noted by tjr@freebsd.org; ok djm@
2002-11-27allow usernames with embedded '@', e.g. scp user@vhost@realhost:file /tmp;Markus Friedl
http://bugzilla.mindrot.org/show_bug.cgi?id=447; ok mouring@, millert@
2002-11-26Remove unnecessary fflush(stderr) calls, stderr is unbuffered by default.Wilbern Cobb
ok markus@
2002-11-07check exit status from ssh, and exit(1) if ssh fails; bug#369; binder@arago.deMarkus Friedl
2002-06-19KNF done automatically while reading....Theo de Raadt
2002-06-17make usage like man pageTheo de Raadt
2002-06-08remove FallBackToRshMarkus Friedl
2002-04-06Fixes potental double // within path.mouring
http://bugzilla.mindrot.org/show_bug.cgi?id=76
2002-03-30stretch bannersTheo de Raadt
2001-12-05make it compile with more strict prototype checkingJun-ichiro itojun Hagino
2001-10-01skip filenames containing \n; report jdamery@chiark.greenend.org.ukMarkus Friedl
and matthew@debian.org
2001-09-19add ClearAllForwardings ssh option and set it in scp and sftp; ok markus@Kevin Steves
2001-09-17add -Fssh_config option; ok markus@Kevin Steves
2001-09-12don't forward agent for non third-party copies; ok markus@Kevin Steves
2001-08-29clear the malloc'd buffer, otherwise source() will leak malloc'd memory; ok ↵Markus Friedl
theo@
2001-08-13don't need main prototype (also sync with rcp); ok markus@Kevin Steves
2001-08-06use alarm vs. setitimer for portable; ok markus@Kevin Steves
2001-07-27shorten linesTheo de Raadt
2001-07-18Missing -o in scp usage()mouring
2001-06-23more strict prototypes. raise warning level in Makefile.inc. markus ok'edJun-ichiro itojun Hagino
TODO; cleanup headers
2001-06-23slightly better careTheo de Raadt
2001-06-16no stdio or exit() in signal handlers.Markus Friedl
2001-06-10you cannot vfprintf(fp, fmt, ap) twice, from portable, via drahn@Markus Friedl
2001-06-03pass -v to ssh; from slade@shore.netMarkus Friedl