summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/scp.c
AgeCommit message (Expand)Author
2008-01-01If scp -p encounters a pre-epoch timestamp, use the epoch which isDarren Tucker
2007-10-24factor out network read/write into an atomicio()-like function, and use itDamien Miller
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2007-06-13don't ftruncate() non-regular files; bz#1236 reported by wood AT xmission.com;Damien Miller
2007-06-12Encode filename with strnvis if the name contains a newline (which can'tDarren Tucker
2007-06-12make scp try to skip FIFOs rather than blocking when nothing is listening.Damien Miller
2007-01-22fix detection of whether we should show progress meter or not: scpDamien Miller
2006-08-03almost entirely get rid of the culture of ".h files that include .h files"Theo de Raadt
2006-08-01move #include <stdio.h> out of includes.hKevin Steves
2006-07-26move #include <stdlib.h> out of includes.hKevin Steves
2006-07-26move #include <sys/param.h> out of includes.hKevin Steves
2006-07-25move #include <sys/time.h> out of includes.hKevin Steves
2006-07-22move #include <string.h> out of includes.hKevin Steves
2006-07-22move #include <time.h> out of includes.hKevin Steves
2006-07-17move #include <unistd.h> out of includes.hKevin Steves
2006-07-11move #include <errno.h> out of includes.h; ok markus@Kevin Steves
2006-07-10move #include <stdarg.h> out of includes.h; ok markus@Kevin Steves
2006-07-10duplicate argv at the start of main() because it gets modified later;Damien Miller
2006-07-09move #include <fcntl.h> out of includes.hKevin Steves
2006-07-06move #include <pwd.h> out of includes.h; ok markus@Kevin Steves
2006-05-17fix leak; coverity via Kylene Jo HallMarkus Friedl
2006-04-01xasprintification; ok deraadt@Damien Miller
2006-04-01minimal lint cleanup (unused crud, and some size_t); ok djmTheo de Raadt
2006-03-25Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatDamien Miller
2006-03-25change OpenSSH's xrealloc() function from being xrealloc(p, new_size) toDamien Miller
2006-03-19RCSID() can dieTheo de Raadt
2006-03-16Try to display errormessage even if remout == -1Bjorn Sandell
2006-02-22move #include <ctype.h> out of includes.h; ok djm@Kevin Steves
2006-02-20move #include <sys/stat.h> out of includes.h; ok markus@Kevin Steves
2006-02-20move #include <signal.h> out of includes.h; ok markus@Kevin Steves
2006-02-10move #include <sys/wait.h> out of includes.h; ok markus@Kevin Steves
2006-02-08move #include <dirent.h> out of includes.h; ok markus@Kevin Steves
2006-01-31"scp a b c" shouldn't clobber "c" when it is not a directory, report andDamien Miller
2006-01-31fix local arbitrary command execution vulnerability on local/local andDamien Miller
2005-12-06Add support for tun(4) forwarding over OpenSSH, based on an idea andReyk Floeter
2005-11-12avoid close(-1), as in rcp; ok cloderTheo de Raadt
2005-09-13ensure that stdio fds are attached; ok deraadt@Damien Miller
2005-07-27Silence bogus -Wuninitialized warnings; ok djm@Darren Tucker
2005-06-17make this -Wsign-compare clean; ok avsm@ markus@Damien Miller
2005-05-26If copying multiple files to a target file (which normally fails, as itAnil Madhavapeddy
2005-05-24Switch atomicio to use a simpler interface; it now returns a size_tAnil Madhavapeddy
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
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
2004-07-08Prevent scp from skipping the file following a double-error.Darren Tucker
2004-06-21make ssh -Wshadow clean, no functional changesAnil Madhavapeddy
2004-04-01limit trust between local and remote rcp/scp process,Markus Friedl
2003-11-23from portable: rename clashing variable limit-> limit_rate; ok markus@Damien Miller