summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/scp.c
AgeCommit message (Expand)Author
2019-09-09Fix potential truncation warning. ok deraadt.Darren Tucker
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-02-10when checking that filenames sent by the server side match what theDamien Miller
2019-01-27add -T to usage();Jason McIntyre
2019-01-26check in scp client that filenames sent during remote->local directoryDamien Miller
2019-01-24Have progressmeter force an update at the beginning and end of eachDarren Tucker
2019-01-23Sanitize scp filenames via snmprintf. To do this we move theDarren Tucker
2019-01-21Add a -J option as a shortcut for -o Proxyjump= to scp(1) and sftp(1)Theo Buehler
2018-11-16disallow empty incoming filename or ones that refer to the currentDamien Miller
2018-06-01Apply umask to all incoming files and directories not just files.Darren Tucker
2018-04-10lots of typos in comments/docs. Patch from Karsten Weiss after checkingDamien Miller
2018-02-10Disable RemoteCommand and RequestTTY in the ssh session started byDamien Miller
2017-12-18Add helper function for uri handing in scp where a missing pathTodd C. Miller
2017-10-21Add URI support to ssh, sftp and scp. For example ssh://user@hostTodd C. Miller
2017-05-31Switch to recallocarray() for a few operations. Both growth and shrinkageTheo de Raadt
2017-05-02remove options -12 from usage();Jason McIntyre
2017-04-30exterminate the -1 flag from scpDamien Miller
2017-04-28Avoid relying on implementation-specific behavior when detectingTodd C. Miller
2017-04-27Avoid potential signed int overflow when parsing the file size.Todd C. Miller
2016-09-12Add MAXIMUM(), MINIMUM(), and ROUNDUP() to misc.h, then use those definitionsTheo de Raadt
2016-05-25To prevent screwing up terminal settings when printing to theIngo Schwarze
2016-03-02Improve accuracy of reported transfer speeds by waiting for the ack fromDarren Tucker
2015-11-27pledge "stdio rpath wpath cpath fattr tty proc exec" except for theTheo de Raadt
2015-10-160 -> NULL when comparing with a char*.mmcc
2015-04-24rename xrealloc() to xreallocarray() since it follows that form.Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-06-24when copying local->remote fails during read, don't send uninitialisedDamien Miller
2013-11-20unsigned casts for ctype macros where neccessaryTheo de Raadt
2013-06-22improved time_t overflow check suggested by guenther@Damien Miller
2013-06-21make this -Wsign-compare clean after time_t conversionDamien Miller
2013-06-17Handle time_t values as long long's when formatting them and whenPhilip Guenther
2013-06-04use MAXPATHLEN for buffer size instead of fixed value. ok markusDarren Tucker
2013-06-01Replace S_IWRITE, which isn't standardized, with S_IWUSR, which is. PatchDarren Tucker
2013-05-17bye, bye xfree(); ok markus@Damien Miller
2013-05-16Fix some "unused result" warnings found via clang and -portable. ok markus@Darren Tucker
2011-09-09suppress adding '--' to remote commandlines when the first argumentDamien Miller
2010-12-09scp.1: grammer fixJason McIntyre
2010-12-08add a new -3 option to scp: Copies between two remote hosts areMarkus Friedl
2010-11-26Pass through ssh command-line flags and options when doing remote-remoteDamien Miller
2010-09-22add an option per-read/write callback to atomicioDamien Miller
2010-07-01Fix a longstanding problem where if you suspend scp at theTodd C. Miller
2009-12-20When passing user-controlled options with arguments to other programs,Philip Guenthe
2008-10-10spelling in comment; ok djm@Kevin Steves
2008-06-13Prevent -Wsign-compare warnings on LP64 systems. bz #1192, ok deraadt@Darren Tucker
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