summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp.c
AgeCommit message (Collapse)Author
2005-12-06Add support for tun(4) forwarding over OpenSSH, based on an idea andReyk Floeter
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
2005-10-31Fix sorting with "ls -1" command. From Robert Tsai, "looks right" deraadt@Darren Tucker
2005-09-13ensure that stdio fds are attached; ok deraadt@Damien Miller
2005-08-08sftp prompt enhancements:Jared Yanovich
- in non-interactive mode, do not print an empty prompt at the end before finishing - print newline after EOF in editline mode - call el_end() in editline mode ok dtucker djm
2005-07-17knf says that a 2nd level indent is four (not three or five) spacesDamien Miller
2005-06-17make this -Wsign-compare clean; ok avsm@ markus@Damien Miller
2005-03-10spacingTheo de Raadt
2005-02-20turn on ssh batch mode when in sftp batch mode, patch from jdmossh AT nand.net;Damien Miller
ok markus@
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-12-10- fix globbed ls for paths the same lenght as the globbed path whenFederico G. Schwindt
we have a unique matching. - fix globbed ls in case of a directory when we have a unique matching. - as a side effect, if the path does not exist error (used to silently ignore). - don't do extra do_lstat() if we only have one matching file. djm@ ok
2004-11-29Some small fixes from moritz@jodeit.org. ok deraadt@Damien Miller
2004-11-25leak; from mpechMarkus Friedl
2004-11-05command editing and history support via libedit; ok markus@Damien Miller
thanks to hshoexer@ and many testers on tech@ too
2004-07-11spacesTheo de Raadt
2004-06-25bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.deDamien Miller
2004-06-22don't show .files by default in ls, add -a option to turn them back on;Damien Miller
ok markus
2004-06-21prefix ls option flags with LS_Damien Miller
2004-06-21introduce sorting for ls, same options as /bin/ls; ok markus@Damien Miller
2004-06-21make ssh -Wshadow clean, no functional changesAnil Madhavapeddy
markus@ ok
2004-06-20make "ls -l" listings print user/group names, add "ls -n" to show uid/gidDamien Miller
(like /bin/ls); idea & ok markus@
2004-06-18Use execvp instead of execv so sftp -S ssh works. "makes sense" markus@Darren Tucker
2004-06-03initialize pointers, ok markus@Pedro Martelletto
2004-05-26exit -> _exit in forked child on error; from andrushock AT korovino.netDamien Miller
2004-05-19gracefully abort transfers on receipt of SIGINT, also ignore SIGINT whileDamien Miller
waiting for a command; ok markus@
2004-03-03Fix initialisation of progress meter; ok markus@Damien Miller
2004-02-17sftp.c and sftp-int.c, together at last; ok markus@Damien Miller
2004-02-17Remove useless headers; ok deraadt@Damien Miller
2004-02-17switch to license.template for code written by me (belated, I know...)Damien Miller
2004-01-27reorder parsing so user:skey@host:file works (bugzilla #777)Damien Miller
patch from admorten AT umich.edu; ok markus@
2004-01-21initialise infile in main, rather than statically - from portableDamien Miller
2004-01-13Tidy sftp batchmode handling, eliminate junk to stderr (bugzilla #754) andDamien Miller
enable use of "-b -" to accept batchfile from stdin; ok markus@
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-07-10sync usage with manpage, add missing -RMarkus Friedl
2003-06-04kill ssh process on receipt of signal; ok markus@Damien Miller
2003-05-15Teach ls how to display multiple column display and allow users to returnmouring
to single column format via 'ls -1'. OK @djm
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.
2003-01-08Cleanup error handling for batchmodeDamien Miller
Allow blank lines and comments in input Ability to suppress abort on error in batchmode ("-put blah") Fixes mindrot bug #452; markus@ ok
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-07-25FallBackToRsh does not exist anywhere else. Remove it from here. OK deraadt.mouring
2002-06-23bunch of u_int vs int stuffTheo de Raadt
2002-04-02always call log_init()Markus Friedl
2002-03-30check waitpid for EINTR; based on patch from peter@ifm.liu.seMarkus Friedl
2002-03-19KNF whitespaceMarkus Friedl
2002-02-12Perform multiple overlapping read/write requests in file transfer. MostlyDamien Miller
done by Tobias Ringstrom <tori@ringstrom.mine.nu>; ok markus@
2002-02-06sync usage() with manual.Mike Pechkin
markus@ ok
2002-02-05Add "-B" option to specify copy buffer length (default 32k); ok markus@Damien Miller
2002-02-04Add "-P" option to directly connect to a local sftp-server. Should be usefulDamien Miller
for regression testing; ok markus@
2001-12-19basic KNF done while i was looking for something elseTheo de Raadt
2001-09-19add ClearAllForwardings ssh option and set it in scp and sftp; ok markus@Kevin Steves
2001-09-17cleanup and document -1, -s and -S; ok markus@Kevin Steves