| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
we already do for sshd_config. bz#2320, with & ok djm@
|
| |
|
|
|
|
| |
characters; from zhongjubin@huawei.com
|
|
|
|
|
| |
a better error message if it's not correct. Prompted by bz#2879,
ok djm@ jmc@
|
|
|
|
|
|
|
|
|
| |
The connection phase of the SSH session is time-sensitive (due to
server side login grace periods) and is frequently interactive (e.g.
entering passwords). The ultimate interactive/bulk TOS/DSCP will be
set after authentication completes.
ok dtucker@
|
|
|
|
|
|
|
| |
process. No longer copy entire struct w/ pointer addresses, but
pass remaining scalar fields explicitly,
Prompted by Yuichiro NAITO, feedback Thorsten Glaser; ok dtucker@
|
|
|
|
| |
information in debug output.
|
|
|
|
|
| |
because it is ambiguous as to whether it referred to the known or new
host key. bz3216; ok dtucker@
|
|
|
|
|
|
|
| |
ensure that the directory is created with write and execute permissions
in the interim so that we can actually complete the transfer, then set
the directory permission as the final step. (The execute bit is only
likely to be an issue with a non-POSIX server). bz#3222, ok djm@
|
|
|
|
|
|
| |
a single member should be enough (the spec says the remainder should be
initialized as per the static rules) but some GCCs warn on this which
prevents us testing with -Werror on those. ok deraadt@ djm@
|
| |
|
|
|
|
| |
from rafork, ok markus@, mdoc correction jmc@
|
| |
|
|
|
|
|
| |
server through asmprintf() prior to display;
suggested by and ok dtucker@
|
|
|
|
|
| |
to determine which connection they are associated with in cases like
scp -3, ProxyJump, etc. bz#3224 ok dtucker
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
host names/addresses already associated with the key. E.g.
> The authenticity of host 'test (10.0.0.1)' can't be established.
> ECDSA key fingerprint is SHA256:milU4MODXm8iJQI18wlsbPG7Yup+34fuNNmV08qDnax.
> This host key is known by the following other names/addresses:
> ~/.ssh/known_hosts:1: host.example.org,10.0.0.1
> ~/.ssh/known_hosts:2: [hashed name]
> ~/.ssh/known_hosts:3: [hashed name]
> ~/.ssh/known_hosts:4: host
> ~/.ssh/known_hosts:5: [host]:2222
> Are you sure you want to continue connecting (yes/no/[fingerprint])?
feedback and ok markus@
|
|
|
|
|
| |
specified, capping the effective value (for most platforms) at 24 days.
bz#3229, ok djm@
|
|
|
|
| |
ok dtucker@
|
|
|
|
| |
OK djm@
|
| |
|
|
|
|
| |
the touch has been recorded; requested by claudio@ ok markus@
|
| |
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
of recursive searches; ok dtucker
|
| |
|
|
|
|
| |
PR#201 from github user manuelm
|
|
|
|
| |
thingsconnected
|
| |
|
|
|
|
|
| |
other names and addresses; spotted by and debugged with lots of help
from jca@
|
|
|
|
| |
manpage-l10n project via bz#3223. feedback deraadt@, ok jmc@
|
| |
|
| |
|
|
|
|
| |
appending ssh_err(r) manually; ok markus@
|
|
|
|
| |
a supplied error code; ok markus@
|
| |
|
|
|
|
| |
name; ok markus@
|
|
|
|
| |
identical signatures. Makes things a bit more consistent...
|
| |
|
|
|
|
|
|
|
| |
Allows forcing maximum debug logging by file/function/line pattern-
lists.
ok markus@
|
|
|
|
|
|
|
| |
log functions receive function, filename and line number of caller.
We can use this to selectively enable logging via pattern-lists.
ok markus@
|
| |
|
|
|
|
|
|
|
|
|
| |
one of the keys offered by the server is already in known_hosts under
another name. This avoid collisions between address entries for
different host aliases when CheckHostIP=yes
Also, do not attempt to fix known_hosts with incomplete host/ip matches
when there are no new or deprecated hostkeys.
|
|
|
|
|
|
| |
sshconnect.c r1.241 from 2013 made it unused; found while reading code.
OK djm
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop UpdateHostkeys from automatically removing deprecated keys from
known_hosts files if the same keys exist under a different name or
address to the host that is being connected to.
This avoids UpdateHostkeys from making known_hosts inconsistent in
some cases. For example, multiple host aliases sharing address-based
known_hosts on different lines, or hosts that resolves to multiple
addresses.
ok markus@
|
|
|
|
|
|
|
|
|
|
|
|
| |
When preparing to update the known_hosts file, fully check both
entries for both the host and the address (if CheckHostIP enabled)
and ensure that, at the end of the operation, entries for both are
recorded.
Make sure this works with HashKnownHosts too, which requires maintaining
a list of entry-types seen across the whole file for each key.
ok markus@
|
|
|
|
|
|
|
|
| |
Disable UpdateHostkeys if the known_hosts line has more than two
entries in the pattern-list. ssh(1) only writes "host" or "host,ip"
lines so anything else was added by a different tool or by a human.
ok markus@
|
|
|
|
| |
spotted by naddy@
|