summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/scp.c
AgeCommit message (Expand)Author
2023-10-11in olde rcp/scp protocol mode, when rejecting a path from the serverDamien Miller
2023-09-10rename remote_glob() -> sftp_glob() to match other APIDamien Miller
2023-09-08the sftp code was one of my first contributions to OpenSSH and itDamien Miller
2023-07-14add defence-in-depth checks for some unreachable integer overflowsDamien Miller
2023-03-31Explicitly ignore return from waitpid here too.Darren Tucker
2023-03-31Explictly ignore return codes where we don't check them. From DmitryDarren Tucker
2023-03-27scp: when copying local->remote, check that source file exists beforeDamien Miller
2023-03-03Check return values of dup2. Spotted by Coverity, ok djm@Darren Tucker
2023-01-10Switch scp from using pipes to a socketpair for communication withTodd C. Miller
2022-12-16add -X to usage();Jason McIntyre
2022-12-16add a -X option to both scp(1) and sftp(1) to allow control overDamien Miller
2022-10-24when scp(1) is using the SFTP protocol for transport (the default),Damien Miller
2022-05-13arrange for scp, when in sftp mode, to not ftruncate(3) files earlyDamien Miller
2022-03-20don't leak argument list; bz3404, reported by Balu GajjalaDamien Miller
2022-02-23and we go back to testing sftp-scp after the 8.9 release...Theo de Raadt
2022-02-10revert for imminent OpenSSH release, which wil ship with scp in RCP mode.Damien Miller
2022-02-01better match legacy scp behaviour: show un-expanded paths in errorDamien Miller
2022-01-17when transferring multiple files in SFTP mode, create the destinationDamien Miller
2022-01-08fix some corner-case bugs in scp sftp-mode handling of ~-prefixedDamien Miller
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-10-15openbsd 7.0 release shipped with the (hopefully last) scp that uses RCPTheo de Raadt
2021-09-20fix missing -s in SYNOPSYS and usage() as well as a capitalisationDamien Miller
2021-09-20Switch scp back to use the old protocol by default, ahead of release.Damien Miller
2021-09-18better error message for ~user failures when the sftp-serverDamien Miller
2021-09-16make some more scp-in-SFTP mode better match Unix idiomsDamien Miller
2021-09-16allow log_stderr==2 to prefix log messages with argv[0]Damien Miller
2021-09-11when using SFTP protocol, continue transferring files after aDamien Miller
2021-09-08Use the SFTP protocol by default. The original scp/rcp protocol remainsDamien Miller
2021-08-11scp: tweak man page and error message for -3 by defaultChristian Weisgerber
2021-08-11scp: do not spawn ssh with two -s flags for remote-to-remote copiesChristian Weisgerber
2021-08-10Prepare for a future where scp(1) uses the SFTP protocol by default.Damien Miller
2021-08-09make scp -3 the default for remote-to-remote copies. It provides aDamien Miller
2021-08-09make scp in SFTP mode try to use relative paths as much as possible.Damien Miller
2021-08-09SFTP protocol extension to allow the server to expand ~-prefixedDamien Miller
2021-08-09when scp is in SFTP mode, try to deal better with ~ prefixedDamien Miller
2021-08-09on fatal errors, make scp wait for ssh connection before exitingDamien Miller
2021-08-09rever r1.223 - I accidentally committed unrelated changesDamien Miller
2021-08-09on fatal errors, make scp wait for ssh connection before exitingDamien Miller
2021-08-07Fix prototype mismatch for do_cmd. ok djm@Darren Tucker
2021-08-07make scp(1) in SFTP mode follow symlinks like traditional scp(1)Damien Miller
2021-08-07make scp(1) in SFTP mode output better match original scp(1) byDamien Miller
2021-08-07use sftp_client crossloading to implement scp -3Damien Miller
2021-08-07prepare for scp -3 implemented via sftpDamien Miller
2021-08-04Allow for different (but POSIX compliant) behaviour of basename(3) andDarren Tucker
2021-08-02support for using the SFTP protocol for file transfers in scp, via aDamien Miller
2021-07-05allow spaces to appear in usernames for local to remote, and scp -3Damien Miller
2021-04-03highly polished whitespace, mostly fixing spaces-for-tab and badDamien Miller
2020-10-18use the new variant log macros instead of prepending __func__ andDamien Miller
2020-08-03allow -A to explicitly enable agent forwarding in scp and sftp. TheDamien Miller
2020-05-29Fix error message on close(2) and add printf format attributes.Todd C. Miller