[Bug 3026] New: ssh -F does not work as expected
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Fri Jun 28 02:36:34 AEST 2019
https://bugzilla.mindrot.org/show_bug.cgi?id=3026
Bug ID: 3026
Summary: ssh -F does not work as expected
Product: Portable OpenSSH
Version: 7.9p1
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: evans.tucker at gmail.com
>From documentation:
-F configfile
Specifies an alternative per-user configuration file.
If a configuration file is given on the command line,
the system-wide configuration file (/etc/ssh/ssh_config)
will be ignored. The default for the per-user configuration
file is ~/.ssh/config.
>From reality:
If I put something like "IdentitiesOnly yes" in my ~/.ssh/config, then
run "ssh -F not_my_ssh_config", which does not have IdentitiesOnly in
it, the behavior I see is that SSH will have IdentitiesOnly set to yes.
SSH appears to run both the ~/.ssh/config and whatever file you specify
with "-F". When I use "-F" I would expect that it would only use the
file I specified and not use my "~/.ssh/config" at all.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list