| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
indentation on continuation lines. Prompted by GHPR#185
|
|
|
|
|
|
|
|
|
|
|
| |
good limits based on what the server supports. Split the download and
upload buffer sizes to allow them to be chosen independently.
In practice (and assuming upgraded sftp/sftp-server at each end), this
increases the download buffer 32->64KiB and the upload buffer
32->255KiB.
Patches from Mike Frysinger; ok dtucker@
|
|
|
|
|
|
|
|
| |
function - it returns 0/1 and not the -1/0/1 that qsort expectes.
fixes sftp "ls -ltr" under some circumstances.
Based on patch by Masahiro Matsuya via bz3248.
|
| |
|
| |
|
|
|
|
| |
appending ssh_err(r) manually; ok markus@
|
|
|
|
|
| |
platforms instead of being limited by LONG_MAX. bz#3206, found by
booking00 at sina.cn, ok markus@
|
|
|
|
|
| |
default remains to not forward an agent, even when ssh_config enables
it. ok jmc dtucker markus
|
| |
|
|
|
|
| |
requested in bz3135; ok dtucker
|
|
|
|
|
| |
of accepting and silently ignoring it since protocol 1 support has
been removed. Spotted by shivakumar2696 at gmail.com, ok deraadt@
|
|
|
|
|
|
| |
This wrapper blocks all other signals during the handler preventing
races between handlers, and sets SA_RESTART which should reduce the
potential for short read/write operations.
|
|
|
|
| |
to a kill(-1); bz3084, reported by Gao Rui, ok dtucker@
|
| |
|
|
|
|
|
|
| |
just like <esc><left> moves left to the closest beginning of a word.
ok djm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- for reput, it is remote-path which is optional, not local-path
- sync help
from deraadt:
- prefer -R and undocument -r (but add a comment for future editors)
from schwarze:
- prefer -p and undocument -P (as above. the comment was schwarze's too)
more:
- add the -f flag to reput and reget
- sort help (i can;t remember who suggested this originally)
djm and deraadt were ok with earlier versions of this;
tim and schwarze ok
|
|
|
|
| |
to work without a path in addition to with one. bz#2999, ok djm@
|
|
|
|
| |
Prepares for changes in the way malloc is initialized. ok guenther@ dtucker@
|
|
|
|
|
|
| |
to match ssh(1)'s interface.
ok djm
|
|
|
|
|
|
|
| |
not follow symlinks. Requires recently-committed lsetstat@openssh.com
extension on the server side.
ok markus@ dtucker@
|
| |
|
|
|
|
| |
bz#2926; ok dtucker@
|
|
|
|
| |
via bz#2687.
|
|
|
|
|
|
|
|
| |
The sftp program terminated with the wrong exit code as sftp called
fatal() instad of exit(0). So when the sigchld handler waits for
the child, remember that it was found. Then don't expect that
main() can wait again.
OK dtucker@
|
|
|
|
| |
patch from Thomas Kuthan in bz2719; ok dtucker@
|
|
|
|
| |
with codespell tool (https://github.com/lucasdemarchi/codespell)
|
|
|
|
|
|
|
| |
lcd will change to the local user's home directory as usual.
cd will change to the starting directory for session (because the
protocol offers no way to obtain the remote user's home directory).
bz#2760 ok dtucker@
|
|
|
|
|
|
|
| |
or sftp://user@host/path. The connection parameters described in
draft-ietf-secsh-scp-sftp-ssh-uri-04 are not implemented since the
ssh fingerprint format in the draft uses md5 with no way to specify
the hash function type. OK djm@
|
| |
|
| |
|
|
|
|
| |
total filesystem blocks/inodes. Spotted by Guido Vranken; ok dtucker@
|
|
|
|
|
|
| |
ssh child to suspend before suspending sftp. This lets ssh restore
the terminal mode as needed when it is suspended at the password
prompt. OK dtucker@
|
|
|
|
|
| |
rather than pulling <sys/param.h> and unknown namespace pollution.
ok djm markus dtucker
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
terminal, for ASCII and UTF-8, escape bytes not forming characters
and bytes forming non-printable characters with vis(3) VIS_OCTAL.
For other character sets, abort printing of the current string in
these cases. In particular,
* let scp(1) respect the local user's LC_CTYPE locale(1);
* sanitize data received from the remote host;
* sanitize filenames, usernames, and similar data even locally;
* take character display widths into account for the progressmeter.
This is believed to be sufficient to keep the local terminal safe
on OpenBSD, but bad things can still happen on other systems with
state-dependent locales because many places in the code print
unencoded ASCII characters into the output stream.
Using feedback from djm@ and martijn@,
various aspects discussed with many others.
deraadt@ says it should go in now, i probably already hesitated too long
|
| |
|
|
|
|
| |
deraadt@, something similar has been in the snaps for a while.
|
|
|
|
| |
ok krw millert
|
|
|
|
| |
ok djm markus
|
|
|
|
| |
pretty much just mechanical changes; with & ok markus
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
bz#2254, patch from Orion Poplawski
|
|
|
|
| |
OK from djm@ and dtucker@
|
|
|
|
|
| |
fatal'ing with "el_insertstr failed" when there's a single quote char
somewhere in the string. bz#2238, ok markus@
|
| |
|
|
|
|
| |
OK from djm@
|