summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/scp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* move #include <stdio.h> out of includes.hstevesk2006-08-011-1/+2
|
* move #include <stdlib.h> out of includes.hstevesk2006-07-261-1/+2
|
* move #include <sys/param.h> out of includes.hstevesk2006-07-261-1/+2
|
* move #include <sys/time.h> out of includes.hstevesk2006-07-251-1/+2
|
* move #include <string.h> out of includes.hstevesk2006-07-221-1/+2
|
* move #include <time.h> out of includes.hstevesk2006-07-221-1/+2
|
* move #include <unistd.h> out of includes.hstevesk2006-07-171-1/+2
|
* move #include <errno.h> out of includes.h; ok markus@stevesk2006-07-111-1/+2
|
* move #include <stdarg.h> out of includes.h; ok markus@stevesk2006-07-101-1/+2
|
* duplicate argv at the start of main() because it gets modified later;djm2006-07-101-3/+9
| | | | pointed out by deraadt@ ok markus@
* move #include <fcntl.h> out of includes.hstevesk2006-07-091-1/+2
|
* move #include <pwd.h> out of includes.h; ok markus@stevesk2006-07-061-1/+2
|
* fix leak; coverity via Kylene Jo Hallmarkus2006-05-171-2/+4
|
* xasprintification; ok deraadt@djm2006-04-011-9/+3
|
* minimal lint cleanup (unused crud, and some size_t); ok djmderaadt2006-04-011-9/+11
|
* Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatdjm2006-03-251-0/+1
| | | | Theo nuked - our scripts to sync -portable need them in the files
* change OpenSSH's xrealloc() function from being xrealloc(p, new_size) todjm2006-03-251-1/+1
| | | | | | | | xrealloc(p, new_nmemb, new_itemsize). realloc is particularly prone to integer overflows because it is almost always allocating "n * size" bytes, so this is a far safer API; ok deraadt@
* RCSID() can diederaadt2006-03-191-1/+0
|
* Try to display errormessage even if remout == -1biorn2006-03-161-10/+10
| | | | ok djm@, markus@
* move #include <ctype.h> out of includes.h; ok djm@stevesk2006-02-221-1/+2
|
* move #include <sys/stat.h> out of includes.h; ok markus@stevesk2006-02-201-1/+2
|
* move #include <signal.h> out of includes.h; ok markus@stevesk2006-02-201-1/+2
|
* move #include <sys/wait.h> out of includes.h; ok markus@stevesk2006-02-101-1/+4
|
* move #include <dirent.h> out of includes.h; ok markus@stevesk2006-02-081-1/+3
|
* "scp a b c" shouldn't clobber "c" when it is not a directory, report anddjm2006-01-311-2/+2
| | | | fix from biorn@; ok markus@
* fix local arbitrary command execution vulnerability on local/local anddjm2006-01-311-45/+87
| | | | | remote/remote copies (CVE-2006-0225, bz #1094), patch by t8m AT centrum.cz, polished by dtucker@ and myself; ok markus@
* Add support for tun(4) forwarding over OpenSSH, based on an idea andreyk2005-12-061-1/+2
| | | | | | | | | | | | initial channel code bits by markus@. This is a simple and easy way to use OpenSSH for ad hoc virtual private network connections, e.g. administrative tunnels or secure wireless access. It's based on a new ssh channel and works similar to the existing TCP forwarding support, except that it depends on the tun(4) network interface on both ends of the connection for layer 2 or layer 3 tunneling. This diff also adds support for LocalCommand in the ssh(1) client. ok djm@, markus@, jmc@ (manpages), tested and discussed with others
* avoid close(-1), as in rcp; ok cloderderaadt2005-11-121-4/+10
|
* ensure that stdio fds are attached; ok deraadt@djm2005-09-131-1/+4
|
* Silence bogus -Wuninitialized warnings; ok djm@dtucker2005-07-271-2/+2
|
* make this -Wsign-compare clean; ok avsm@ markus@djm2005-06-171-5/+5
|
* If copying multiple files to a target file (which normally fails, as itavsm2005-05-261-4/+6
| | | | | | 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
* Switch atomicio to use a simpler interface; it now returns a size_tavsm2005-05-241-12/+14
| | | | | | | | | | | (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@
* since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror builddjm2005-04-021-4/+2
|
* copy argv[] element instead of smashing the one that ps will see; ok ottoderaadt2005-03-311-5/+8
|
* Have scp and sftp wait for the spawned ssh to exit before they exitdtucker2005-01-241-2/+4
| | | | | | | 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@
* scratch that do { } while (0) wrapper in this casederaadt2004-09-151-2/+2
|
* use atomicio instead of homegrown equivalents or read/write.avsm2004-08-111-6/+3
| | | | markus@ ok
* Prevent scp from skipping the file following a double-error.dtucker2004-07-081-3/+7
| | | | bz #863, ok markus@
* make ssh -Wshadow clean, no functional changesavsm2004-06-211-5/+5
| | | | markus@ ok
* limit trust between local and remote rcp/scp process,markus2004-04-011-1/+9
| | | | noticed by lcamtuf; ok deraadt@, djm@
* from portable: rename clashing variable limit-> limit_rate; ok markus@djm2003-11-231-6/+6
|
* unexpand and delete whitespace at EOL; ok markus@djm2003-11-211-2/+2
|
* When called with -q, pass -q to ssh; suppresses SSH2 banner. ok markus@dtucker2003-11-121-1/+2
|
* scp and sftp: add options list and sort options. options list requestedjmc2003-10-081-3/+3
| | | | | | | | | 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@
* error handling for remote-remote copy; #638; report Harald Koenig;markus2003-09-191-2/+3
| | | | ok millert, fgs, henning, deraadt
* userid is unsigned, but well, force it anyways; andrushock@korovino.netderaadt2003-07-181-2/+2
|
* deal with typing of write vs read in atomicioderaadt2003-06-281-18/+18
|
* Typo.nino2003-06-121-2/+2
| | | | Ok markus@.
* kill ssh process upon receipt of signal, bz #241.djm2003-06-041-2/+14
| | | | based on patch from esb AT hawaii.edu; ok markus@