mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 20:30:38 +09:00
The libssh versions before this included files with relative path based on the current working directory, which can result unexpected results and is different from the OpenSSH include behavior. The manual page for ssh_config lists: > iles without absolute paths are assumed to be in ~/.ssh if included in > a user configuration file or /etc/ssh if included from the system > configuration file. This is following the semantics as close as possible with a difference that we do not use the hardcoded ~/.ssh for user configuration files, but the path defined with SSH_OPTIONS_SSH_DIR, which is already used to reference any other files in used home directory. Fixes #93 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>