| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
providers get upset if C_Initialize is not matched with C_Finalize.
From Adithya Baglody via GHPR#234; ok markus
|
|
|
|
| |
and exit if ExitOnForwardFailure is set; bz3264
|
|
|
|
| |
ok djm@, dtucker@
|
| |
|
|
|
|
| |
purpose-built ssh->compat variable instead; feedback/ok markus@
|
|
|
|
|
|
| |
HostbasedAcceptedAlgorithms, which more accurately reflects its effect.
This matches a previous change to PubkeyAcceptedAlgorithms. The previous
names are retained as aliases. ok djm@
|
|
|
|
|
|
|
|
| |
While the two were originally equivalent, this actually specifies the
signature algorithms that are accepted. Some key types (eg RSA) can be
used by multiple algorithms (eg ssh-rsa, rsa-sha2-512) so the old name is
becoming increasingly misleading. The old name is retained as an alias.
Prompted by bz#3253, help & ok djm@, man page help jmc@
|
| |
|
| |
|
|
|
|
|
| |
common arguments into a single struct and pass that around instead
of using a bunch of globals. ok markus@
|
|
|
|
| |
(one-off) memory leaks; ok markus@
|
|
|
|
|
| |
specified, capping the effective value (for most platforms) at 24 days.
bz#3229, ok djm@
|
|
|
|
|
|
| |
are themselves now macros, and preprocessor directives inside macro
arguments are undefined behaviour which some compilers (eg old GCCs)
choke on. It also makes the code tidier. ok deraadt@
|
|
|
|
| |
appending ssh_err(r) manually; ok markus@
|
|
|
|
|
|
|
| |
Allows forcing maximum debug logging by file/function/line pattern-
lists.
ok markus@
|
|
|
|
|
|
| |
sshconnect.c r1.241 from 2013 made it unused; found while reading code.
OK djm
|
|
|
|
|
|
| |
and/or stderr to /dev/null. Factor all these out to a single
stdfd_devnull() function that allows selection of which of these
to redirect. ok markus@
|
| |
|
|
|
|
| |
bz#3137, ok markus
|
| |
|
|
|
|
|
|
| |
destination. This allows, eg, keeping host keys in individual files
using "UserKnownHostsFile ~/.ssh/known_hosts.d/%k".
bz#1654, ok djm@, jmc@ (man page bits)
|
|
|
|
|
| |
allowing the file to be automagically split up in the configuration
(eg bz#1654). ok djm@, man page parts jmc@
|
| |
|
|
|
|
|
|
| |
don't leave an empty .ssh directory when it's not needed. Use the same
function to replace the code in ssh-keygen that does the same thing.
bz#3156, ok djm@
|
|
|
|
|
| |
(very quickly replaced by OpenSSL) not SSL in general. ok deraadt,
historical context markus@
|
|
|
|
|
|
|
|
| |
variables on the client side. The supported keywords are
CertificateFile, ControlPath, IdentityAgent and IdentityFile, plus
LocalForward and RemoteForward when used for Unix domain socket
paths. This would for example allow forwarding of Unix domain
socket paths that change at runtime. bz#3140, ok djm@
|
|
|
|
|
|
| |
for Unix domain socket forwarding. Factor out the code for the config
keywords that use the most common subset of TOKENS into its own function.
bz#3014, ok jmc@ (man page bits) djm@
|
| |
|
| |
|
|
|
|
|
| |
earlier had an off-by-one. Fix this and add some debugging that would
have made it apparent sooner.
|
|
|
|
| |
connection when ExitOnForwardFailure is enabled; bz3116; ok dtucker
|
|
|
|
|
|
|
|
|
|
|
| |
- %C is moved into its own function and added to Match Exec.
- move the common (global) options into a macro. This is ugly but it's
the least-ugly way I could come up with.
- move IdentityAgent and ForwardAgent percent expansion to before the
config dump to make it regression-testable.
- document all of the above
ok jmc@ for man page bits, "makes things less terrible" djm@ for the rest.
|
| |
|
|
|
|
| |
bz#3057, ok djm@
|
|
|
|
|
| |
ssh_config(5) and sshd_config(5) algorithm keywords as an alias for the
corresponding query. Man page help jmc@, ok djm@.
|
|
|
|
|
|
|
| |
This replaces "security key" in error/usage/verbose messages and
distinguishes between "authenticator" and "authenticator-hosted key".
ok djm@
|
|
|
|
| |
"work for me" matthieu@
|
| |
|
|
|
|
|
|
|
|
| |
are in use. When updating host keys, ssh will now search subsequent
known_hosts files, but will add new/changed host keys to the first
specified file only. bz#2738
ok markus@
|
|
|
|
|
|
|
|
|
|
|
| |
Extract the key label or X.509 subject string when PKCS#11 keys
are retrieved from the token and plumb this through to places where
it may be used as a comment.
based on https://github.com/openssh/openssh-portable/pull/138
by Danielle Church
feedback and ok markus@
|
|
|
|
|
| |
building without zlib compression and associated options. With feedback
from markus@, ok djm@
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Issue noticed and reported by Pierre-Olivier Martel <pom@apple.com>
ok dtucker@ markus@ djm@
|
|
|
|
|
|
|
|
| |
$SSH_AUTH_SOCK, by extending the existing ForwardAgent option to
accepting an explicit path or the name of an environment variable
in addition to yes/no.
Patch by Eric Chiang, manpage by me; ok markus@
|
| |
|
| |
|
|
|
|
|
| |
From Zachary Harmany via github.com/openssh/openssh-portable/pull/118
ok dtucker@
|
|
|
|
|
|
|
|
|
| |
the list with the '^' character, e.g.
HostKeyAlgorithms ^ssh-ed25519
Ciphers ^aes128-gcm@openssh.com,aes256-gcm@openssh.com
ok djm@ dtucker@
|
|
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
|
|
| |
-J options on the commandline. bz3015 ok dtucker@
|