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: [email protected]
          Reporter: [email protected]

>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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to